pytest icon indicating copy to clipboard operation
pytest copied to clipboard

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

Results 653 pytest issues
Sort by recently updated
recently updated
newest added

- [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: ![image](https://github.com/pytest-dev/pytest/assets/18548911/ca37e861-dfd0-490e-ae5c-a36f6a5627fd) The source...

type: enhancement
plugin: capture
plugin: logging

- [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...

status: needs information
stale

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)

dependencies

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)))...

type: regression
plugin: unittest

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,...

type: proposal
topic: reporting

[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...

status: needs information

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 -...

status: needs information