Skip to content

Commit

Permalink
specifies module scope for create_filter fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
tmckenzie51 committed Oct 28, 2020
1 parent f3b534b commit e24a1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/filtering/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ def return_filter(
return contract.events[event_name].createFilter(**kwargs)


@pytest.fixture()
@pytest.fixture(scope="module")
def create_filter(request):
return functools.partial(return_filter)

0 comments on commit e24a1ea

Please sign in to comment.