Skip to content

Commit b73507f

Browse files
committed
post-merge fixup
1 parent 8a9d428 commit b73507f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pandas/tests/frame/methods/test_astype.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
Timedelta,
1515
Timestamp,
1616
UInt64Index,
17-
_np_version_under1p14,
1817
concat,
1918
date_range,
2019
option_context,
@@ -169,9 +168,7 @@ def test_astype_str_float(self):
169168
tm.assert_frame_equal(result, expected)
170169
result = DataFrame([1.12345678901234567890]).astype(str)
171170

172-
# < 1.14 truncates
173-
# >= 1.14 preserves the full repr
174-
val = "1.12345678901" if _np_version_under1p14 else "1.1234567890123457"
171+
val = "1.1234567890123457"
175172
expected = DataFrame([val])
176173
tm.assert_frame_equal(result, expected)
177174

0 commit comments

Comments
 (0)