Ran Benita
Ran Benita
> Then why does it have a test defined? As @RonnyPfannschmidt said, it's a common technique in unittest to create a base test class with test cases, and then have...
This happens because: - Terminal reporter prints the percent in `pytest_runtest_logreport(when="call")` - Logging plugin records the warning in [`pytest_runtest_protocol`](https://docs.pytest.org/en/8.3.x/reference/reference.html#pytest.hookspec.pytest_runtest_protocol) hookwrapper which wraps the entire test execution including the `pytest_runtest_logreport`. I.e....
Sounds like a reasonable request, though I didn't check the details too much. One advantage of warnings is that if there are multiple problems they are all reported, while an...
Not exposed to exposing `Expression`, can be good and I can see how it can be useful outside. I went over its code now and made a few tweaks #13790....
Need to dig into the unittest plugin code to see how `skipIf` is handled. Hopefully will do it soon.
Thanks for the report, I will try to see if I can reproduce it. It will be interesting to know if this only happens with xdist.
Thanks for the reproducer. Bisected to 115b8703b898e5782bb2512eb08390674745e8e2. Given the invocation `touch idents.txt && pytest --db sqlite --write-idents idents.txt`, before this commit `Parser.parse_known_and_unknown_args` would give (non-intermixed parse): ```py file_or_dir = ['sqlite']...
Given `pytest mytests/test_it.py` the arg `mytests/test_it.py` is the anchor and is not a directory. So applying this diff as is won't work. > how is passing a filename "dbidents.txt" not...
Thanks for the PR @tanuj-rai. I don't think this is the approach we should go with, because it fixes the symptom instead of the underlying cause. I suspect the real...
@Liam-DeVoe would you mind opening a specific issue about `PYTEST_CURRENT_TEST` and the problem with threads?