Skip to content
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

AssertionError: 'Europe' != 'MSK' when running make test on 3.12.0rc3 #109692

Open
SamuelMarks opened this issue Sep 21, 2023 · 2 comments
Open
Labels
topic-email type-bug An unexpected behavior, bug, or error

Comments

@SamuelMarks
Copy link
Contributor

SamuelMarks commented Sep 21, 2023

Bug report

Bug description:

./configure --with-lto --with-pydebug --enable-optimizations
make
make test

Running Ubuntu 23.10 with the 6.5.3 kernel.

Maybe relevant:

$ locale
LANG=en_CA.UTF-8
LANGUAGE=en_CA:en
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=

CPython versions tested on:

3.12

Operating systems tested on:

Linux

@SamuelMarks SamuelMarks added the type-bug An unexpected behavior, bug, or error label Sep 21, 2023
@hugovk
Copy link
Member

hugovk commented Sep 21, 2023

Please can you give more detail? Which test failed, and paste the full traceback.

@SamuelMarks
Copy link
Contributor Author

SamuelMarks commented Sep 22, 2023

0:07:15 load avg: 2.19 Re-running 1 failed tests in verbose mode in subprocesses
0:07:15 load avg: 2.19 Run tests in parallel using 18 child processes
0:07:16 load avg: 2.19 [1/1/1] test_email failed (1 failure)
Re-running test_email in verbose mode (matching: test_variable_tzname)
test_variable_tzname (test.test_email.test_utils.LocaltimeTests.test_variable_tzname) ... FAIL

======================================================================
FAIL: test_variable_tzname (test.test_email.test_utils.LocaltimeTests.test_variable_tzname)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Python-3.12.0rc3/Lib/test/support/__init__.py", line 867, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "Python-3.12.0rc3/Lib/test/test_email/test_utils.py", line 155, in test_variable_tzname
    self.assertEqual(t1.tzname(), 'MSK')
AssertionError: 'Europe' != 'MSK'
- Europe
+ MSK


----------------------------------------------------------------------
Ran 1 test in 0.003s

FAILED (failures=1)
test test_email failed
1 test failed again:
    test_email

== Tests result: FAILURE then FAILURE ==

463 tests OK.

1 test failed:
    test_email

13 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test_dbm_ndbm test_devpoll
    test_gdb test_ioctl test_kqueue test_launcher test_msilib
    test_startfile test_winconsoleio test_winreg test_wmi

6 tests skipped (resource denied):
    test_ossaudiodev test_tix test_tkinter test_ttk test_winsound
    test_zipfile64

1 re-run test:
    test_email

Total duration: 7 min 16 sec
Total tests: run=41,391 failures=2 skipped=1,124
Total test files: run=478/483 failed=1 skipped=13 resource_denied=6 rerun=1
Result: FAILURE then FAILURE
make: *** [Makefile:1980: test] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-email type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants