10000 TST: Fix test_stringified_slice_with_tz failure by mroeschke · Pull Request #25496 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TST: Fix test_stringified_slice_with_tz failure #25496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix unreliable test
  • Loading branch information
Matt Roeschke committed Mar 1, 2019
commit 4437f40f2d853b81f8fecdb4cd56dea7adc47b5c
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