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
test failure : test_re; recipe for target 'test' failed #80315
Comments
## while building python3.7 from source code on debian9.8 stretch. following the instructions given in the README.rst file: user@host $ make user@host $ make test Traceback (most recent call last):
File "/home/apoos-maximus/packages/Python-3.7.2/Lib/test/test_re.py", line 1540, in test_locale_flag
self.assertTrue(pat.match(bletter))
AssertionError: None is not true Ran 123 tests in 1.048s FAILED (failures=1, skipped=2) == Tests result: FAILURE then FAILURE == 384 tests OK. 1 test failed: 29 tests skipped: 1 re-run test: 2 tests run no tests: Total duration: 4 min 44 sec #on rerunning the same test FAIL: test_locale_flag (test.test_re.ReTests) Traceback (most recent call last):
File "/home/apoos-maximus/packages/Python-3.7.2/Lib/test/test_re.py", line 1540, in test_locale_flag
self.assertTrue(pat.match(bletter))
AssertionError: None is not true Ran 123 tests in 0.750s FAILED (failures=1, skipped=2) == Tests result: FAILURE then FAILURE == 1 test failed: 1 re-run test: Total duration: 1 sec 646 ms ###### this is how the bug could be reproduced |
Search gives me bpo-29571 that looks similar to this report. This seems to be locale specific and information on your locale, OS etc would be helpful. Can you please add the output of below?
Thanks |
###the outputs for the commands: user@host $ python -m test.pythoninfo user@host $ ./python -m test -v test_re ====================================================================== Traceback (most recent call last):
File "/home/apoos-maximus/packages/Python-3.7.2/Lib/test/test_re.py", line 1540, in test_locale_flag
self.assertTrue(pat.match(bletter))
AssertionError: None is not true Ran 123 tests in 0.746s FAILED (failures=1, skipped=2) == Tests result: FAILURE == 1 test failed: Total duration: 782 ms |
Thanks for the details. This seems to be the same as bpo-29571 where the issue was reported on Ubuntu for en_IN but not happening in Gentoo. |
en_IN
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: