We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c587afe commit 9583ac9Copy full SHA for 9583ac9
pandas/tests/series/methods/test_map.py
@@ -430,8 +430,8 @@ def test_map_box_dt64(unit):
430
431
def test_map_box_dt64tz(unit):
432
vals = [
433
- pd.Timestamp("2011-01-01", tz="US/Eastern").as_unit("ns"),
434
- pd.Timestamp("2011-01-02", tz="US/Eastern").as_unit("ns"),
+ pd.Timestamp("2011-01-01", tz="US/Eastern"),
+ pd.Timestamp("2011-01-02", tz="US/Eastern"),
435
]
436
ser = Series(vals).dt.as_unit(unit)
437
assert ser.dtype == f"datetime64[{unit}, US/Eastern]"
0 commit comments