Skip to content

Commit a77f708

Browse files
committed
Clarify test case
1 parent 215477f commit a77f708

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/io/parser/test_common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,8 @@ def test_infinity_parsing(all_parsers, na_filter):
18751875
c,+Infinity
18761876
"""
18771877
expected = DataFrame(
1878-
{"A": [float("inf"), float("-inf"), float("inf")]}, index=["a", "b", "c"]
1878+
{"A": [float("infinity"), float("-infinity"), float("+infinity")]},
1879+
index=["a", "b", "c"],
18791880
)
18801881
result = parser.read_csv(StringIO(data), index_col=0, na_filter=na_filter)
18811882
tm.assert_frame_equal(result, expected)

0 commit comments

Comments
 (0)