Skip to content

Commit 7e24e14

Browse files
authored
Fix pytest.PytestRemovedIn9Warning / Marks applied to fixtures (#246)
Fixes ``` _________________ ERROR collecting tests/test_visualization.py _________________ tests/test_visualization.py:112: in <module> def visu_file_Fujita_empty(): .tox/unit/lib/python3.9/site-packages/_pytest/mark/structures.py:357: in __call__ store_mark(func, self.mark) .tox/unit/lib/python3.9/site-packages/_pytest/mark/structures.py:422: in store_mark warnings.warn(MARKED_FIXTURE, stacklevel=2) E pytest.PytestRemovedIn9Warning: Marks applied to fixtures have no effect E See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function ```
1 parent eef0eb3 commit 7e24e14

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_visualization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ def visu_file_Fujita_minimal():
107107
)
108108

109109

110-
@pytest.mark.filterwarnings("ignore:Visualization table is empty")
111110
@pytest.fixture
112111
def visu_file_Fujita_empty():
113112
return (

0 commit comments

Comments
 (0)