Skip to content

Commit b9288ed

Browse files
Marco GorelliMarcoGorelli
authored andcommitted
🔥 remove skip_if_no_tabulate, due to module-level fixture
1 parent a844870 commit b9288ed

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pandas/util/_test_decorators.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ def _skip_if_no_scipy():
119119
)
120120

121121

122-
def _skip_if_no_tabulate():
123-
return not safe_import("tabulate")
124-
125-
126122
def skip_if_installed(package: str) -> Callable:
127123
"""
128124
Skip a test if a package is installed.
@@ -197,9 +193,6 @@ def skip_if_no(package: str, min_version: Optional[str] = None) -> Callable:
197193
not _USE_NUMEXPR,
198194
reason=f"numexpr enabled->{_USE_NUMEXPR}, " f"installed->{_NUMEXPR_INSTALLED}",
199195
)
200-
skip_if_no_tabulate = pytest.mark.skipif(
201-
_skip_if_no_tabulate(), reason="Missing tabulate requirement"
202-
)
203196

204197

205198
def skip_if_np_lt(ver_str, reason=None, *args, **kwds):

0 commit comments

Comments
 (0)