diff --git a/conftest.py b/conftest.py index 35e83a4e..ecdfbc1a 100644 --- a/conftest.py +++ b/conftest.py @@ -10,6 +10,6 @@ def pytest_runtest_setup(item): pytest.skip("need --runslow option to run") -def pytest_ignore_collect(path, config): - if 'run_test.py' in str(path): +def pytest_ignore_collect(collection_path, config): + if 'run_test.py' in str(collection_path): return True diff --git a/streamz/plugins.py b/streamz/plugins.py index e27ffc9d..fa1a6add 100644 --- a/streamz/plugins.py +++ b/streamz/plugins.py @@ -19,6 +19,7 @@ def get_entry_point(eps, group): else: return eps.get(group, []) + def load_plugins(cls): eps = importlib.metadata.entry_points()