You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on both Python 2.7 and 3.6, and confirmed that tests collect and linting occurs on pytest==3.6.4, but fails with the above error on pytest==3.7.0
It looks like pytest is expecting pylama to implememt/override pytest.Package._collectfile(), but pylama.pytest.PylamaItem only inherits from pytest.File and pytest.Item. I'm not sure if the fix is also to inherit from pytest.Package, or if this is an issue in pytest where they should be checking if the plugin inherits from Package
The text was updated successfully, but these errors were encountered:
Pytest 3.7.0, recently released, does not work with the --pylama option, failing as follows:
It appears to be related to this change:
pytest-dev/pytest@fedc785
Tested on both Python 2.7 and 3.6, and confirmed that tests collect and linting occurs on
pytest==3.6.4
, but fails with the above error onpytest==3.7.0
It looks like pytest is expecting pylama to implememt/override
pytest.Package._collectfile()
, butpylama.pytest.PylamaItem
only inherits frompytest.File
andpytest.Item
. I'm not sure if the fix is also to inherit frompytest.Package
, or if this is an issue in pytest where they should be checking if the plugin inherits fromPackage
The text was updated successfully, but these errors were encountered: