Skip to content

Commit 8ec1d0b

Browse files
committed
DEPS: remove import (pandas-dev#34472)
1 parent 34d3e69 commit 8ec1d0b

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

pandas/tests/api/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pytest
66

77
import pandas as pd
8-
from pandas import api, compat
8+
from pandas import api
99
import pandas._testing as tm
1010

1111

pandas/tests/groupby/test_categorical.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ def test_level_get_group(observed):
247247
# GH#21636 flaky on py37; may be related to older numpy, see discussion
248248
# https://github.com/MacPython/pandas-wheels/pull/64
249249
@pytest.mark.xfail(
250-
_np_version_under1p17 and not is_platform_windows(),
251-
reason="Flaky, GH-27902",
250+
_np_version_under1p17 and not is_platform_windows(), reason="Flaky, GH-27902",
252251
)
253252
@pytest.mark.parametrize("ordered", [True, False])
254253
def test_apply(ordered):

pandas/tests/tseries/offsets/test_offsets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import pandas._libs.tslibs.offsets as liboffsets
1515
from pandas._libs.tslibs.offsets import ApplyTypeError, _get_offset, _offset_map
1616
from pandas._libs.tslibs.period import INVALID_FREQ_ERR_MSG
17-
import pandas.compat as compat
1817
from pandas.compat.numpy import np_datetime64_compat
1918
from pandas.errors import PerformanceWarning
2019

0 commit comments

Comments
 (0)