Skip to content

Commit 12f19a2

Browse files
committed
remove commented-out
1 parent 5347c87 commit 12f19a2

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

pandas/tests/io/json/test_pandas.py

-2
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ def test_frame_non_unique_columns(self, orient, data):
172172
elif orient == "split":
173173
expected = df
174174
expected.columns = ["x", "x.1"]
175-
# if isinstance(data[0][0], Timestamp):
176-
# # FIXME: in this case result is integer dtype instead of dt64
177175

178176
tm.assert_frame_equal(result, expected)
179177

pandas/tests/io/parser/test_parse_dates.py

-1
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,6 @@ def test_datetime_fractional_seconds(all_parsers, key, value, warn):
16541654
],
16551655
columns=["ymdHMS", "a", "b"],
16561656
)
1657-
# expected["ymdHMS"] = expected["ymdHMS"].astype("M8[us]")
16581657
tm.assert_frame_equal(result, expected)
16591658

16601659

pandas/tests/tslibs/test_array_to_datetime.py

-13
Original file line numberDiff line numberDiff line change
@@ -253,19 +253,6 @@ def test_coerce_outside_ns_bounds(invalid_date, exp_unit, errors):
253253
expected = np.array([ts._value], dtype=f"M8[{exp_unit}]")
254254
tm.assert_numpy_array_equal(result, expected)
255255

256-
# FIXME: don't leave commented-out
257-
# kwargs = {"values": arr, "errors": errors}
258-
# if errors == "raise":
259-
# msg = "^Out of bounds nanosecond timestamp: .*, at position 0$"
260-
261-
# with pytest.raises(ValueError, match=msg):
262-
# tslib.array_to_datetime(**kwargs)
263-
# else: # coerce.
264-
# result, _, _ = tslib.array_to_datetime(**kwargs)
265-
# expected = np.array([iNaT], dtype="M8[ns]")
266-
#
267-
# tm.assert_numpy_array_equal(result, expected)
268-
269256

270257
def test_coerce_outside_ns_bounds_one_valid():
271258
arr = np.array(["1/1/1000", "1/1/2000"], dtype=object)

0 commit comments

Comments
 (0)