Test failure: deprecation.tests.DeprecatedChineseLanguageCodes.test_deprecation_warning with unexpected warnings about unclosed files
Trying to build 1.7.3 on Debian unstable, the package build fails when running the test suite with Python 3.4 (version 3.4.2-4).
FAIL: test_deprecation_warning (deprecation.tests.DeprecatedChineseLanguageCodes)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/deprecation/tests.py", line 206, in test_deprecation_warning
"The use of the language code 'zh-tw' is deprecated. "
AssertionError: Lists differ: ["The[93 chars].", "unclosed file <_io.FileIO name='/build/py[317 chars]ad."] != ["The[93 chars].", "The use of the language code 'zh-tw' is d[53 chars]ad."]
First differing element 1:
unclosed file <_io.FileIO name='/«PKGBUILDDIR»/tests/view_tests/media/long-line.txt' mode='rb'>
The use of the language code 'zh-tw' is deprecated. Please use the 'zh-hant' translation instead.
First list contains 2 additional elements.
First extra element 2:
unclosed file <_io.FileIO name='/«PKGBUILDDIR»/tests/view_tests/media/long-line.txt' mode='rb'>
["The use of the language code 'zh-cn' is deprecated. Please use the "
"'zh-hans' translation instead.",
- 'unclosed file <_io.FileIO '
- "name='/«PKGBUILDDIR»/tests/view_tests/media/long-line.txt' "
- "mode='rb'>",
- 'unclosed file <_io.FileIO '
- "name='/«PKGBUILDDIR»/tests/view_tests/media/long-line.txt' "
- "mode='rb'>",
"The use of the language code 'zh-tw' is deprecated. Please use the "
"'zh-hant' translation instead."]
Change History
(9)
Owner: |
changed from nobody to Tim Graham
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
Tim Graham removed
|
Status: |
assigned → new
|
Component: |
Uncategorized → Core (Other)
|
Triage Stage: |
Accepted → Ready for checkin
|
Owner: |
set to Claude Paroz <claude@…>
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
FWIW, this is blocking the upload of Django 1.7.3 to unstable and thus upcoming Debian 8 and it looks like it has been introduced by the recent security fix: 818e59a3f0fbadf6c447754d202d88df025f8f2a