Skip to content

Commit

Permalink
Fix unreliable test (#25496)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored and jreback committed Mar 1, 2019
1 parent 0a61ecd commit 9bb98b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/tests/indexes/datetimes/test_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ def test_hash_error(self):

def test_stringified_slice_with_tz(self):
# GH#2658
import datetime
start = datetime.datetime.now()
start = '2013-01-07'
idx = date_range(start=start, freq="1d", periods=10, tz='US/Eastern')
df = DataFrame(lrange(10), index=idx)
df["2013-01-14 23:44:34.437768-05:00":] # no exception here
Expand Down

0 comments on commit 9bb98b8

Please sign in to comment.