pytest
pytest copied to clipboard
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
When executing `pytester.runpytest` in an environment containing a `pytest` plugin that modifies the output, the result is that vanilla `pytester` tries and fails to parse the modified output, yielding failed...
#### What's the problem this feature will solve? Provide a better way to fine-tune the order in which different hooks are executed. Currently, the only way to control the scheduling...
@nicoddemus @asottile This is still an issue with the latest pytest across tests (e.g. when one tests change the logging config and add a stream handler pointing to stdout, a...
this experiments with addign a policy and a new default * short(default) - if the str is longer than 100, use the normal shorten * hash: make a sha256 of...
We implement the optional get_code loader method. This increases compatibility with other tools/libraries that need to manipulate the code object of a module before it is executed.
Our test automation is contains test which are more acceptance/end to end test like, than traditional unit tests. Also these test contains quite a lot of logging, so that they...
When doing some changes to a test report generation plugin, I was generating tests of various kinds from a script and ran it through pytest. I noticed that the runtime...
I passed `pytest.Mark` as a default. Now we have deprecation warning and no alternative to pass default to `Node.get_closest_marker`. I think that overload of `Node.get_closest_marker` with default kwarg should be...
this pr is a starting point for a import-mode that supports modern importing the key ideas are * correctly setup import toplevels * in case of non-editable installation compare files...
Closes #13314 - [X] Not Applicable: Include documentation when adding new features. - [X] Include new tests or update existing tests when applicable. - [X] Allow maintainers to push and...