collection fails when jsonschema
is imported (DegenerateFiles)
#9335
Labels
jsonschema
is imported (DegenerateFiles)
#9335
pip list
from the virtual environment you are usingDescription
When I run pytest it fails to collect when the python file is importing
jsonschema
, failures seem to happen for a couple of reasons:TypeError: DegenerateFiles.Path.open() got an unexpected keyword argument 'encoding'
AttributeError: module 'idna' has no attribute 'IDNAError'
And the same thing happens in my wsl interpreter
pip list
pytest and operating system versions
pytest 6.2.5
Windows 10 1909 18363.1801
Seems to only happen in python 3.10 and 3.11, not 3.9
minimal example
The text was updated successfully, but these errors were encountered: