staticmethod tests don't work with fixtures #2699
I was attempting to use this, and it doesn't seem to be working quite right with fixtures. Running the following code,
import pytest @pytest.fixture def foo(): return 'foo' def test_foo(foo): assert foo == 'foo' class TestFoo: @staticmethod def test_foo(foo): assert foo == 'foo'
Produces the following error:
The text was updated successfully, but these errors were encountered: