◐ Shell
reader mode source ↗
Skip to content

bpo-10381: Test that new_timezone can return the UTC singleton#5318

Merged
abalkin merged 1 commit into
python:masterfrom
pganssle:utc_singleton_api_test
Feb 22, 2018
Merged

bpo-10381: Test that new_timezone can return the UTC singleton#5318
abalkin merged 1 commit into
python:masterfrom
pganssle:utc_singleton_api_test

Conversation

@pganssle

@pganssle pganssle commented Jan 25, 2018

Copy link
Copy Markdown
Member

While I was fixing #5317, I realized that we are currently not testing the behavior that new_timezone will return the UTC singleton if provided a zero offset and no name.

I'm referring this to the original issue, since this is really more of an oversight in the original test suite than a new issue. Since it has no behavior change and only affects an unreleased feature, I have not added news.

CC: @abalkin

https://bugs.python.org/issue10381

@abalkin

abalkin commented Feb 22, 2018

Copy link
Copy Markdown
Member

@ned-deily - as a tests-only change, I think this can go in 3.7.

@ned-deily

Copy link
Copy Markdown
Member

@abalkin Sure, as a feature fix, go ahead and merge to master and allow backport to 3.7.

@abalkin abalkin merged commit a049f57 into python:master Feb 22, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @pganssle for the PR, and @abalkin for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2018
(cherry picked from commit a049f57)

Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com>
@bedevere-bot

Copy link
Copy Markdown

GH-5819 is a backport of this pull request to the 3.7 branch.

abalkin pushed a commit that referenced this pull request Feb 22, 2018
(cherry picked from commit a049f57)

Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com>
@pganssle pganssle deleted the utc_singleton_api_test branch October 25, 2018 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants