Title: System transitions tests are skipped in datetime tester · Issue #101539 · python/cpython · GitHub
Open Graph Title: System transitions tests are skipped in datetime tester · Issue #101539 · python/cpython
X Title: System transitions tests are skipped in datetime tester · Issue #101539 · python/cpython
Description: Bug report Tests that should be conditionally skipped only when time.tzset is not present are skipped all the time. % ./python.exe Lib/test/test_datetime.py -k test_system_transitions -v test_system_transitions (test.datetimetester.IranT...
Open Graph Description: Bug report Tests that should be conditionally skipped only when time.tzset is not present are skipped all the time. % ./python.exe Lib/test/test_datetime.py -k test_system_transitions -v test_syste...
X Description: Bug report Tests that should be conditionally skipped only when time.tzset is not present are skipped all the time. % ./python.exe Lib/test/test_datetime.py -k test_system_transitions -v test_syste...
Opengraph URL: https://github.com/python/cpython/issues/101539
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"System transitions tests are skipped in datetime tester","articleBody":"\u003c!--\r\n If you're new to Python and you're not sure whether what you're experiencing is a bug, the CPython issue tracker is not\r\n the right place to seek help. Consider the following options instead:\r\n\r\n - reading the Python tutorial: https://docs.python.org/3/tutorial/\r\n - posting in the \"Users\" category on discuss.python.org: https://discuss.python.org/c/users/7\r\n - emailing the Python-list mailing list: https://mail.python.org/mailman/listinfo/python-list\r\n - searching our issue tracker (https://github.com/python/cpython/issues) to see if\r\n your problem has already been reported\r\n--\u003e\r\n\r\n# Bug report\r\n\r\nTests that should be conditionally skipped only when time.tzset is not present are skipped all the time.\r\n\r\n```sh\r\n% ./python.exe Lib/test/test_datetime.py -k test_system_transitions -v\r\ntest_system_transitions (test.datetimetester.IranTest_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'\r\ntest_system_transitions (test.datetimetester.ZoneInfoTest_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'\r\ntest_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Abidjan]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'\r\ntest_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Accra]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'\r\ntest_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Addis_Ababa]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'\r\ntest_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Algiers]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'\r\n...\r\n\r\n----------------------------------------------------------------------\r\nRan 842 tests in 0.036s\r\n\r\nOK (skipped=842)\r\n```\r\n\r\n# Your environment\r\n\r\n\u003c!-- Include as many relevant details as possible about the environment you experienced the bug in --\u003e\r\n\r\n- CPython versions tested on:\r\n ```sh\r\n % ./python.exe\r\n Python 3.12.0a4+ (heads/main:04e06e20ee, Feb 3 2023, 17:55:49) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin\r\n Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n ```\r\n- Operating system and architecture: macOS\r\n\r\n\u003c!--\r\nYou can freely edit this text. Remove any lines you believe are unnecessary.\r\n--\u003e\r\n\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-101540\r\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/abalkin","@type":"Person","name":"abalkin"},"datePublished":"2023-02-03T13:58:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/101539/cpython/issues/101539"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f840dd64-2583-a566-d1dc-e11a0aafc8e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84B0:144C84:41096A:5B80FD:696A15A7 |
| html-safe-nonce | 8b80c48c0c5917f50a2ea203a8d0c18f8bfa013a92122da511599992868a4178 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEIwOjE0NEM4NDo0MTA5NkE6NUI4MEZEOjY5NkExNUE3IiwidmlzaXRvcl9pZCI6IjU0MjkzODMzMjU4OTUyMzQ5ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 477dd4c71999c866d0a6af4d9676f6f3adcb53e1edc3b9ee11d9940693be85c2 |
| hovercard-subject-tag | issue:1569886975 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/101539/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d034acc11f35774b253c6be3bca699c9d4cf9e8a15b1737a7abfd33abd96417c/python/cpython/issues/101539 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d034acc11f35774b253c6be3bca699c9d4cf9e8a15b1737a7abfd33abd96417c/python/cpython/issues/101539 |
| og:image:alt | Bug report Tests that should be conditionally skipped only when time.tzset is not present are skipped all the time. % ./python.exe Lib/test/test_datetime.py -k test_system_transitions -v test_syste... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | abalkin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 34a52bd10bd674f68e5c1b6b74413b79bf2ca20c551055ace3f7cdd112803923 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e8bd37502700f365b18a4d39acf7cb7947e11b1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width