File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -283,9 +283,7 @@ def test_max_sas_date(datapath):
283
283
df ["dt_as_dt" ] = df ["dt_as_dt" ].dt .round ("us" )
284
284
except pd ._libs .tslibs .np_datetime .OutOfBoundsDatetime :
285
285
df = df .map (round_datetime_to_ms )
286
- assert False
287
286
except AttributeError :
288
- assert False
289
287
df ["dt_as_dt" ] = df ["dt_as_dt" ].apply (round_datetime_to_ms )
290
288
# if there are any date/times > pandas.Timestamp.max then ALL in that chunk
291
289
# are returned as datetime.datetime
@@ -321,9 +319,7 @@ def test_max_sas_date_iterator(datapath):
321
319
df ["dt_as_dt" ] = df ["dt_as_dt" ].dt .round ("us" )
322
320
except pd ._libs .tslibs .np_datetime .OutOfBoundsDatetime :
323
321
df = df .map (round_datetime_to_ms )
324
- assert False
325
322
except AttributeError :
326
- assert False
327
323
df ["dt_as_dt" ] = df ["dt_as_dt" ].apply (round_datetime_to_ms )
328
324
df .reset_index (inplace = True , drop = True )
329
325
results .append (df )
You can’t perform that action at this time.
0 commit comments