GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — System transitions tests are skipped in datetime tester · Issue #101539 · python/cpython

System transitions tests are skipped in datetime tester #101539

New issue
Copy link
New issue
Copy link
Closed
#101540
Closed
System transitions tests are skipped in datetime tester#101539
#101540
Copy link
Assignees
abalkin
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@abalkin
abalkin
opened on Feb 3, 2023
Issue body actions

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.IranTest_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'
test_system_transitions (test.datetimetester.ZoneInfoTest_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'
test_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Abidjan]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'
test_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Accra]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'
test_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Addis_Ababa]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'
test_system_transitions (test.datetimetester.ZoneInfoTest[Africa/Algiers]_Pure.test_system_transitions) ... skipped 'time module has no attribute tzset'
...

----------------------------------------------------------------------
Ran 842 tests in 0.036s

OK (skipped=842)

Your environment

  • CPython versions tested on:
    % ./python.exe
    Python 3.12.0a4+ (heads/main:04e06e20ee, Feb  3 2023, 17:55:49) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
  • Operating system and architecture: macOS

Linked PRs

  • Fix detection of presence of time.tzset (gh-101539) #101540

Activity

  1. abalkin
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Feb 3, 2023
  2. abalkin
    self-assigned this
    on Feb 3, 2023
  3. abalkin
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    on Feb 3, 2023
  4. AlexWaygood
    added this to Date and time issues 🕰️on Feb 3, 2023
  5. abalkin commented on Feb 3, 2023

    @abalkin
    abalkin
    on Feb 3, 2023
    MemberAuthor
    More actions

    It looks like the problem was introduced in #31898. I'll submit a fix shortly.

  6. abalkin
    added a commit that references this issue on Feb 3, 2023

    Fix detection of presence of time.tzset (pythongh-101539)

    5f6c356
  7. abalkin
    closed this as completedin #101540on Feb 5, 2023
  8. github-project-automation
    moved this to Done in Date and time issues 🕰️on Feb 5, 2023
  9. abalkin
    added a commit that references this issue on Feb 5, 2023

    Fix detection of presence of time.tzset (gh-101539) (#101540)

    ddd619c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @abalkin
    abalkin

Labels

testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

  • Date and time issues 🕰️
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.