Skip to content

test_variable_tzname fails in 3.11.7 and 3.12.1 due to timezone change #113027

@pablogsal

Description

@pablogsal

Commit 46407fe seems to not be generic enough because running the test in a system where tests where passing before now fails:


 ======================================================================
FAIL: test_variable_tzname (test.test_email.test_utils.LocaltimeTests.test_variable_tzname)
] ----------------------------------------------------------------------
 Traceback (most recent call last):
 File "python3.12/test/support/__init__.py", line 890, in inner
 return func(*args, **kwds)
File "python3.12/test/test_email/test_utils.py", line 152, in test_variable_tzname
self.assertEqual(t1.tzname(), 'MSK')
AssertionError: 'Europe' != 'MSK'
 - Europe
+ MSK
----------------------------------------------------------------------

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions