Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Commit 2c53635

Browse files
committed
0.18 compat
1 parent e98ab61 commit 2c53635

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/test_compat.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ def test_introspection_017(func):
3232

3333
# 018
3434
@pytest.mark.skipif(
35-
pdc._pd_version_under_019, reason='pandas >= 0.18.0 required')
35+
pdc._pd_version_under_018, reason='pandas >= 0.18.0 required')
3636
@pytest.mark.parametrize("func", [
37-
'is_extension_type', 'is_scalar', 'is_dict_like', 'is_string_dtype',
38-
'pandas_dtype', 'is_named_tuple', 'is_file_like', 'is_period'])
37+
'is_extension_type', 'is_dict_like', 'is_string_dtype',
38+
'pandas_dtype', 'is_named_tuple'])
3939
def test_introspection_018(func):
4040
result = getattr(pdc, func)
4141
assert result is not None
@@ -45,6 +45,7 @@ def test_introspection_018(func):
4545
@pytest.mark.skipif(
4646
pdc._pd_version_under_019, reason='pandas >= 0.19.0 required')
4747
@pytest.mark.parametrize("func", [
48+
'is_scalar', 'is_file_like', 'is_period',
4849
'union_categoricals', 'infer_dtype'])
4950
def test_introspection_019(func):
5051
result = getattr(pdc, func)
@@ -53,7 +54,7 @@ def test_introspection_019(func):
5354

5455
# 020
5556
@pytest.mark.skipif(
56-
pdc._pd_version_under_019, reason='pandas >= 0.20.0 required')
57+
pdc._pd_version_under_020, reason='pandas >= 0.20.0 required')
5758
@pytest.mark.parametrize("func", [
5859
'is_interval', 'is_interval_dtype', 'is_period_dtype',
5960
'is_signed_integer_dtype', 'is_unsigned_integer_dtype'])

0 commit comments

Comments
 (0)