Skip to content

Commit 4d7b09c

Browse files
committed
allow module level skips if pandas isnt here
1 parent eccfb57 commit 4d7b09c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def import_pandas():
4747
if pandas:
4848
return pandas
4949
else:
50-
pytest.skip("Couldn't import pandas")
50+
pytest.skip("Couldn't import pandas", allow_module_level=True)
5151

5252

5353
# https://docs.pytest.org/en/latest/example/simple.html#control-skipping-of-tests-according-to-command-line-option

0 commit comments

Comments
 (0)