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

it seems we missed warnings triggered by pluggy or pytest in early hooks _Originally posted by @bluetech in https://github.com/pytest-dev/pytest/issues/12061#issuecomment-1976300706_

plugin: warnings
topic: config

#### What's the problem this feature will solve? I have been running tests suites on automated regressions via Jenkins using pytest for a while. Usually it runs without issues but...

type: proposal
plugin: junitxml

Pytest is returning an incorrect value for `sys.__stdout__.isatty()` on Windows 11 vs Linux / previous versions of Windows. To reproduce: 1. Create a file with the following code ``` import...

type: bug
platform: windows
plugin: capture

#### What's the problem this feature will solve? When writing async unit-tests, it is extremely easy to forget to install the pytest-async extension and end up ignoring the futures. This...

topic: reporting
topic: collection

One more from https://github.com/conda-forge/staged-recipes/pull/16888, where (after patching in workarounds for #9300 & #9301), the test suite failed with ``` ==================================== ERRORS ==================================== ________________ ERROR at setup of test_serialization[cpu-gelu] ________________ self...

type: bug
topic: config

Closes https://github.com/pytest-dev/pytest/issues/10478.

Suppose that you have something like the following in your Pytest config: ```ini filterwarnings = ignore::The foo.bar() function is deprecated ``` This looks perfectly reasonable, but somehow the warning still...

type: enhancement
plugin: warnings