Skip to content

Commit d29de90

Browse files
TST (string dtype): fix failure in csv test_dtype_backend_string test
1 parent e2ed477 commit d29de90

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/tests/io/parser/dtypes/test_dtypes_basic.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -470,12 +470,12 @@ def test_dtype_backend_string(all_parsers, string_storage):
470470
"""
471471
result = parser.read_csv(StringIO(data), dtype_backend="numpy_nullable")
472472

473-
expected = DataFrame(
474-
{
475-
"a": pd.array(["a", "b"], dtype=pd.StringDtype(string_storage)),
476-
"b": pd.array(["x", pd.NA], dtype=pd.StringDtype(string_storage)),
477-
}
478-
)
473+
expected = DataFrame(
474+
{
475+
"a": pd.array(["a", "b"], dtype=pd.StringDtype(string_storage)),
476+
"b": pd.array(["x", pd.NA], dtype=pd.StringDtype(string_storage)),
477+
},
478+
)
479479
tm.assert_frame_equal(result, expected)
480480

481481

0 commit comments

Comments
 (0)