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
I am encountering an error when using pytest_generate_tests with @staticmethod:
My goal is to create a MaxFlow class that other test files can inherit from and insert fixtures to all tests within the MaxFlow class. Everything is working fine, except for this minor edge case that requires me to add self instead of @staticmethod.
pytest:
In test_that_gives_an_error: function uses no argument 'max_flow_fn'
I am encountering an error when using
pytest_generate_tests
with@staticmethod
:My goal is to create a
MaxFlow
class that other test files can inherit from and insert fixtures to all tests within theMaxFlow
class. Everything is working fine, except for this minor edge case that requires me to addself
instead of@staticmethod
.Pytest 6.2.0
Mac OS
The text was updated successfully, but these errors were encountered: