Skip to content

Commit 2f4d393

Browse files
committed
Remove where unit test-- separate issue.
Where is broken for DT TZ on both DataFrame and Series and uses a separate code path. Should open a new issue for this.
1 parent 2633863 commit 2f4d393

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pandas/tests/series/indexing/test_boolean.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -551,19 +551,6 @@ def test_where_datetime_conversion():
551551
assert_series_equal(rs, expected)
552552

553553

554-
def test_where_dt_tz_values(self):
555-
dts1 = pd.date_range('20150101', '20150105', tz='America/New_York')
556-
df1 = pd.DataFrame({'date': dts1})
557-
dts2 = pd.date_range('20150103', '20150107', tz='America/New_York')
558-
df2 = pd.DataFrame({'date': dts2})
559-
result = df1.date.where(df1.date < df1.date[3], df2.date)
560-
exp_vals = pd.DatetimeIndex(['20150101', '20150102', '20150103',
561-
'20150106', '20150107'],
562-
tz='America/New_York')
563-
exp = Series(exp_vals)
564-
assert_series_equal(exp, result)
565-
566-
567554
def test_mask():
568555
# compare with tested results in test_where
569556
s = Series(np.random.randn(5))

0 commit comments

Comments
 (0)