Skip to content

ENH: Support fold argument in Timestamp.replace #25046

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 8 commits into from
Feb 1, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
skipif typo
  • Loading branch information
Matt Roeschke committed Jan 31, 2019
commit 0764e12f61dec56e97b86413f371e5aae0b5a6f9
2 changes: 1 addition & 1 deletion pandas/tests/scalar/timestamp/test_unary_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def test_replace_dst_border(self):
expected = Timestamp('2013-11-3 03:00:00', tz='America/Chicago')
assert result == expected

@pytest.mark.skif(not PY36, reason='Fold not available until PY3.6')
@pytest.mark.skipif(not PY36, reason='Fold not available until PY3.6')
@pytest.mark.parametrize('fold', [0, 1])
@pytest.mark.parametrize('tz', ['dateutil/Europe/London', 'Europe/London'])
def test_replace_dst_fold(self, fold, tz):
Expand Down