Skip to content

Commit 29b1ef5

Browse files
committed
revert no-longer-necessary
1 parent 4797aca commit 29b1ef5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/tests/io/sas/test_sas7bdat.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,7 @@ def test_max_sas_date(datapath):
283283
df["dt_as_dt"] = df["dt_as_dt"].dt.round("us")
284284
except pd._libs.tslibs.np_datetime.OutOfBoundsDatetime:
285285
df = df.map(round_datetime_to_ms)
286-
assert False
287286
except AttributeError:
288-
assert False
289287
df["dt_as_dt"] = df["dt_as_dt"].apply(round_datetime_to_ms)
290288
# if there are any date/times > pandas.Timestamp.max then ALL in that chunk
291289
# are returned as datetime.datetime
@@ -321,9 +319,7 @@ def test_max_sas_date_iterator(datapath):
321319
df["dt_as_dt"] = df["dt_as_dt"].dt.round("us")
322320
except pd._libs.tslibs.np_datetime.OutOfBoundsDatetime:
323321
df = df.map(round_datetime_to_ms)
324-
assert False
325322
except AttributeError:
326-
assert False
327323
df["dt_as_dt"] = df["dt_as_dt"].apply(round_datetime_to_ms)
328324
df.reset_index(inplace=True, drop=True)
329325
results.append(df)

0 commit comments

Comments
 (0)