Skip to content

Commit bfb0b89

Browse files
Fixes from pre-commit [automated commit]
1 parent 27629f0 commit bfb0b89

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

pandas/tests/io/parser/test_textreader.py

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@
1111
import pytest
1212

1313
import pandas._libs.parsers as parser
14-
from pandas._libs.parsers import TextReader, is_extension_array_dtype
14+
from pandas._libs.parsers import (
15+
TextReader,
16+
is_extension_array_dtype,
17+
)
1518

16-
from pandas import DataFrame, array
19+
from pandas import (
20+
DataFrame,
21+
array,
22+
)
1723
import pandas._testing as tm
1824

1925
from pandas.io.parsers import (
@@ -126,10 +132,25 @@ def test_integer_thousands_alt(self):
126132
tm.assert_frame_equal(result, expected)
127133

128134
@pytest.mark.parametrize(
129-
"dtype", [
130-
"uint64", "int64", "uint32", "int32", "uint16", "int16", "uint8", "int8",
131-
"UInt64", "Int64", "UInt32", "Int32", "UInt16", "Int16", "UInt8", "Int8"
132-
]
135+
"dtype",
136+
[
137+
"uint64",
138+
"int64",
139+
"uint32",
140+
"int32",
141+
"uint16",
142+
"int16",
143+
"uint8",
144+
"int8",
145+
"UInt64",
146+
"Int64",
147+
"UInt32",
148+
"Int32",
149+
"UInt16",
150+
"Int16",
151+
"UInt8",
152+
"Int8",
153+
],
133154
)
134155
def test_integer_overflow_with_user_dtype(self, dtype):
135156
dtype = ensure_dtype_objs(dtype)

0 commit comments

Comments
 (0)