Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#23312 closed Bug (fixed)

Windows/Python 3 test failure: test_unicode_decode_error

Reported by: Tim Graham Owned by: nobody
Component: Internationalization Version: 1.7
Severity: Normal Keywords: windows-test-failure
Cc: Ramiro Morales Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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'

Change History (10)

comment:1 by Claude Paroz, 10 years ago

Summary: Windows/Python 3 test failure: test_comments_extractorWindows/Python 3 test failure: test_unicode_decode_error

comment:2 by Ramiro Morales, 10 years ago

Triage Stage: UnreviewedAccepted

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

comment:3 by Tim Graham, 9 years ago

Keywords: windows-test-failure added

comment:4 by Tim Graham, 9 years ago

Version: 1.7-rc-21.7

comment:5 by Tim Graham, 9 years ago

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.

comment:6 by Tim Graham, 9 years ago

Cc: cramm added

Ramiro, any opinion on this?

comment:7 by Tim Graham, 9 years ago

Cc: Ramiro Morales added; cramm removed

comment:8 by Tim Graham, 9 years ago

The test also fails on 1.6.

comment:9 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In 433e7dd5076e492290a90130c9b3e2b1319b2f95:

[1.7.x] Fixed #23312 -- Marked an i18n test as expectedFailure on Windows/Python 3.

comment:10 by Tim Graham <timograham@…>, 9 years ago

In fb614ff4a712cf7d221ed9ddeb7e4164e882ba81:

[1.6.x] Fixed #23312 -- Marked an i18n test as expectedFailure on Windows/Python 3.

Backport of 433e7dd5076e492290a90130c9b3e2b1319b2f95 from stable/1.7.x

Note: See TracTickets for help on using tickets.
Back to Top