#24193: Test failure:
deprecation.tests.DeprecatedChineseLanguageCodes.test_deprecation_warning
with unexpected warnings about unclosed files
---------------------------------+--------------------
Reporter: rhertzog | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 1.7
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
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."]
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24193>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.343007c0607295a3dd0b9e529d67597c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.