pytest
pytest copied to clipboard
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
- [x] a detailed description of the bug or problem you are having: When I use `--capture=tee-sys` instead of `-s` the logs are not colored anymore. Example:  The source...
- [X] a detailed description of the bug or problem you are having - [X] output of `pip list` from the virtual environment you are using - [X] pytest and...
#### What's the problem this feature will solve? Lots of CI systems heavily rely on bash or various bash scripts. And even tho we're in 2024, passing quotes into bash...
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4)
Refs #12089, #12263, #12275.
Backport of PR #12311 to 8.2.x branch. PR created by backport workflow.
I'm using the AsyncHTTPTestCase and AsyncHTTPSTestCase from tornado and the latest pytest fails in collection on this error: ``` Error collection failure Stacktrace usr/local/lib/python3.8/site-packages/tornado/testing.py:180: in __init__ setattr(self, methodName, _TestMethodWrapper(getattr(self, methodName)))...
I'm trying to customize the test header: ```console $ pytest =================================================================== test session starts =================================================================== platform linux -- Python 3.10.13, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/ubuntu/pymapdl configfile: pyproject.toml testpaths: tests plugins: cov-4.1.0,...
[some text/paths removed below] Note some warnings and then the "script returned exit code -1073741819" I can't reproduce locally - i always get exit code 0 If I go back...
Hiya pytest folks! I've got the problem with pytest hooks. The checklist was checked as below: - [✅] a detailed description of the bug or problem you are having -...