Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Internal Error when rerun occurs on tests that are members of a class using mark. #3555
(Updated, added into about the marker registration)
We have some integration tests using selenium that pytest runs for us.
When a test fails and is rerun we see this:
The tests that are being rerun are methods of a test class declared like this:
There are no marks on the fixtures. The
pip list says:
I am running on OSX:
GitMate.io thinks possibly related issues are #3163 (Pytest internal error due to infinite recursion on final test), #50 (Select tests according to their mark), #3494 (Cannot select test by mark using lower case param), #120 (py.test.mark.parameterize works with test functions, but not classes), and #814 (Mark for flaky tests).
However, this may be relevant:
I think I have the culprit...
That is in the top level conftest.py. It is the only