Back to Pytest

13634.Bugfix

changelog/13634.bugfix.rst

9.1.0.dev0295 B
Original Source

Blocking a conftest.py file using the -p no: option is now explicitly disallowed.

Previously this resulted in an internal assertion failure during plugin loading.

Pytest now raises a clear UsageError explaining that conftest files are not plugins and cannot be disabled via -p.