[Django] #23312: Windows/Python 3 test failure: test_comments_extractor

27 views
Skip to first unread message

Django

unread,
Aug 18, 2014, 8:58:36 AM8/18/14
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_comments_extractor
------------------------------------------------+--------------------------
Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7-rc-2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+--------------------------
I couldn't reproduce on master.
{{{
======================================================================
FAIL: test_unicode_decode_error (i18n.test_extraction.BasicExtractorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\Tim\django\tests\i18n\test_extraction.py", line 201, in
test_unicode_decode_error
force_text(stdout.getvalue()))
AssertionError: 'UnicodeDecodeError: skipped file not_utf8.txt in .' not
found in 'processing locale de\n'
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23312>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 18, 2014, 2:12:45 PM8/18/14
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
-------------------------------------+-------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: | Version: 1.7-rc-2
Internationalization | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:1>

Django

unread,
Aug 20, 2014, 3:47:42 PM8/20/14
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7-rc-2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by ramiro):

* stage: Unreviewed => Accepted


Comment:

Bisection between 1.7c1 (good) and current stable/1.7.x tip (bad) reports
that the issue was introduced with commit
e705d8c4b49d5c5ee747075f12709011f55b7a8a

--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:2>

Django

unread,
Dec 17, 2014, 2:15:56 PM12/17/14
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7-rc-2
Severity: Normal | Resolution:
Keywords: windows-test-failure | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* keywords: => windows-test-failure


--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:3>

Django

unread,
Dec 18, 2014, 4:46:02 PM12/18/14
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7
Severity: Normal | Resolution:
Keywords: windows-test-failure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* version: 1.7-rc-2 => 1.7


--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:4>

Django

unread,
Dec 29, 2014, 1:08:44 PM12/29/14
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7
Severity: Normal | Resolution:
Keywords: windows-test-failure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by timgraham):

I guess we could reapply the commit above that was reverted on 1.7 along
with the fix from #23271 if we care to fix this on 1.7. Otherwise, we
could just mark this test as an expectedFailure on Windows & Python 3 and
move on.

--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:5>

Django

unread,
Jan 1, 2015, 11:04:01 AM1/1/15
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7
Severity: Normal | Resolution:
Keywords: windows-test-failure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* cc: cramm (added)


Comment:

Ramiro, any opinion on this?

--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:6>

Django

unread,
Jan 1, 2015, 11:05:22 AM1/1/15
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7
Severity: Normal | Resolution:
Keywords: windows-test-failure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* cc: cramm (removed)
* cc: ramiro (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:7>

Django

unread,
Jan 1, 2015, 2:12:37 PM1/1/15
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7
Severity: Normal | Resolution:
Keywords: windows-test-failure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by timgraham):

The test also fails on 1.6.

--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:8>

Django

unread,
Jan 16, 2015, 10:33:04 AM1/16/15
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: Bug | Status: closed
Component: Internationalization | Version: 1.7
Severity: Normal | Resolution: fixed

Keywords: windows-test-failure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"433e7dd5076e492290a90130c9b3e2b1319b2f95"]:
{{{
#!CommitTicketReference repository=""
revision="433e7dd5076e492290a90130c9b3e2b1319b2f95"
[1.7.x] Fixed #23312 -- Marked an i18n test as expectedFailure on
Windows/Python 3.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:9>

Django

unread,
Jan 16, 2015, 10:35:43 AM1/16/15
to django-...@googlegroups.com
#23312: Windows/Python 3 test failure: test_unicode_decode_error
--------------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody

Type: Bug | Status: closed
Component: Internationalization | Version: 1.7
Severity: Normal | Resolution: fixed
Keywords: windows-test-failure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"fb614ff4a712cf7d221ed9ddeb7e4164e882ba81"]:
{{{
#!CommitTicketReference repository=""
revision="fb614ff4a712cf7d221ed9ddeb7e4164e882ba81"
[1.6.x] Fixed #23312 -- Marked an i18n test as expectedFailure on
Windows/Python 3.

Backport of 433e7dd5076e492290a90130c9b3e2b1319b2f95 from stable/1.7.x
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23312#comment:10>

Reply all
Reply to author
Forward
0 new messages