Skip to content

Commit 6eb738a

Browse files
fix linting
1 parent 6047584 commit 6eb738a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pandas/tests/io/parser/common/test_common_basic.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
from pandas._config import using_string_dtype
1717

18+
from pandas._libs import parsers as libparsers
1819
from pandas.compat import HAS_PYARROW
1920
from pandas.errors import (
2021
EmptyDataError,
@@ -28,7 +29,6 @@
2829
compat,
2930
)
3031
import pandas._testing as tm
31-
from pandas._libs import parsers as libparsers
3232

3333
pytestmark = pytest.mark.filterwarnings(
3434
"ignore:Passing a BlockManager to DataFrame:DeprecationWarning"
@@ -832,11 +832,12 @@ def test_read_seek(all_parsers):
832832
expected = parser.read_csv(StringIO(content))
833833
tm.assert_frame_equal(actual, expected)
834834

835+
835836
def test_dtype_conversion_in_sanitization():
836837
# GH60088
837-
values = np.array([1,True],dtype=object)
838-
expected = np.array([1,True],dtype=object)
839-
libparsers.sanitize_objects(values,na_values=set())
840-
for v,e in zip(values,expected):
841-
assert v==e
842-
assert type(v)==type(e)
838+
values = np.array([1, True], dtype=object)
839+
expected = np.array([1, True], dtype=object)
840+
libparsers.sanitize_objects(values, na_values=set())
841+
for v, e in zip(values, expected):
842+
assert v == e
843+
assert type(v) == type(e)

0 commit comments

Comments
 (0)