Skip to content

Commit 5caa14c

Browse files
committed
STYLE: run precommit hook to fix import locations (pandas-dev#39203)
1 parent 5fed74f commit 5caa14c

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

pandas/testing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Public testing utility functions.
33
"""
44

5+
56
from pandas._testing import (
67
assert_extension_array_equal,
78
assert_frame_equal,

pandas/tests/extension/arrow/arrays.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
register_extension_dtype,
2222
take,
2323
)
24-
from pandas.core.arraylike import OpsMixin
2524
from pandas.api.types import is_scalar
25+
from pandas.core.arraylike import OpsMixin
2626

2727

2828
@register_extension_dtype

pandas/tests/extension/arrow/test_bool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import pandas as pd
55
import pandas._testing as tm
6-
from pandas.tests.extension import base
76
from pandas.api.types import is_bool_dtype
7+
from pandas.tests.extension import base
88

99
pytest.importorskip("pyarrow", minversion="0.13.0")
1010

pandas/tests/extension/base/dtype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import pytest
55

66
import pandas as pd
7+
from pandas.api.types import is_object_dtype, is_string_dtype
78

89
from .base import BaseExtensionTests
9-
from pandas.api.types import is_object_dtype, is_string_dtype
1010

1111

1212
class BaseDtypeTests(BaseExtensionTests):

pandas/tests/extension/decimal/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
import pandas as pd
1313
from pandas.api.extensions import no_default, register_extension_dtype
14+
from pandas.api.types import is_scalar
1415
from pandas.core.arraylike import OpsMixin
1516
from pandas.core.arrays import ExtensionArray, ExtensionScalarOpsMixin
1617
from pandas.core.indexers import check_array_indexer
17-
from pandas.api.types import is_scalar
1818

1919

2020
@register_extension_dtype

pandas/tests/extension/list/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
from pandas.core.dtypes.base import ExtensionDtype
1414

1515
import pandas as pd
16+
from pandas.api.types import is_object_dtype, is_string_dtype
1617
from pandas.core.arrays import ExtensionArray
17-
from pandas.api.types import is_string_dtype, is_object_dtype
1818

1919

2020
class ListDtype(ExtensionDtype):

pandas/tests/extension/test_floating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
import pandas as pd
2222
import pandas._testing as tm
23+
from pandas.api.types import is_float_dtype
2324
from pandas.core.arrays.floating import Float32Dtype, Float64Dtype
2425
from pandas.tests.extension import base
25-
from pandas.api.types import is_float_dtype
2626

2727

2828
def make_data():

0 commit comments

Comments
 (0)