@@ -216,7 +216,6 @@ def test_union_same_nonzero_timezone_different_units(self):
216
216
result = idx1 .union (idx2 )
217
217
expected = date_range ("2000-01-01" , periods = 3 , tz = tz ).as_unit ("ns" )
218
218
tm .assert_index_equal (result , expected )
219
- assert result .tz == idx1 .tz # Original timezone is preserved
220
219
221
220
def test_union_different_dates_same_timezone_different_units (self ):
222
221
# GH 60080 - fix timezone being changed to UTC when units differ
@@ -232,7 +231,6 @@ def test_union_different_dates_same_timezone_different_units(self):
232
231
tz = tz ,
233
232
).as_unit ("us" )
234
233
tm .assert_index_equal (result , expected )
235
- assert result .tz == idx1 .tz # Original timezone is preserved
236
234
237
235
def test_intersection_same_timezone_different_units (self ):
238
236
# GH 60080 - fix timezone being changed to UTC when units differ
@@ -249,7 +247,6 @@ def test_intersection_same_timezone_different_units(self):
249
247
result = idx1 .intersection (idx2 )
250
248
expected = date_range ("2000-01-01" , periods = 3 , tz = tz ).as_unit ("ns" )
251
249
tm .assert_index_equal (result , expected )
252
- assert result .tz == idx1 .tz # Original timezone is preserved
253
250
254
251
def test_symmetric_difference_same_timezone_different_units (self ):
255
252
# GH 60080 - fix timezone being changed to UTC when units differ
@@ -266,7 +263,6 @@ def test_symmetric_difference_same_timezone_different_units(self):
266
263
result = idx1 .symmetric_difference (idx4 )
267
264
expected = DatetimeIndex (["2000-01-01" , "2000-01-04" ], tz = tz ).as_unit ("ns" )
268
265
tm .assert_index_equal (result , expected )
269
- assert result .tz == idx1 .tz # Original timezone is preserved
270
266
271
267
# TODO: moved from test_datetimelike; de-duplicate with version below
272
268
def test_intersection2 (self ):
0 commit comments