diff --git a/benchmarks/conftest.py b/benchmarks/conftest.py index d27260e..c54475d 100644 --- a/benchmarks/conftest.py +++ b/benchmarks/conftest.py @@ -13,6 +13,6 @@ def _collect_garbage(): gc.collect() -@pytest.fixture() +@pytest.fixture def docs(): return DOCUMENTS diff --git a/tests/conftest.py b/tests/conftest.py index 0ed588e..2285460 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -14,22 +14,22 @@ _referenced_objects_for_wrapper_cache_tests = {} -@pytest.fixture() +@pytest.fixture def files_path(): return FILES_PATH -@pytest.fixture() +@pytest.fixture def long_term_references(): return _referenced_objects_for_wrapper_cache_tests -@pytest.fixture() +@pytest.fixture def result_file(): return RESULTS_FILE -@pytest.fixture() +@pytest.fixture def queries_sample(): return Document( """\ @@ -48,7 +48,7 @@ def _reset_serializer(): DefaultStringOptions.reset_defaults() -@pytest.fixture() +@pytest.fixture def sample_document(): return Document( ''