Opened 13 months ago

Closed 8 months ago

Last modified 8 months ago

#23312 closed Bug (fixed)

Windows/Python 3 test failure: test_unicode_decode_error

Reported by: timgraham Owned by: nobody
Component: Internationalization Version: 1.7
Severity: Normal Keywords: windows-test-failure
Cc: ramiro 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 Changed 13 months ago by claudep

  • Summary changed from Windows/Python 3 test failure: test_comments_extractor to Windows/Python 3 test failure: test_unicode_decode_error

comment:2 Changed 12 months ago by ramiro

  • Triage Stage changed from Unreviewed to Accepted

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

comment:3 Changed 9 months ago by timgraham

  • Keywords windows-test-failure added

comment:4 Changed 8 months ago by timgraham

  • Version changed from 1.7-rc-2 to 1.7

comment:5 Changed 8 months ago 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.

comment:6 Changed 8 months ago by timgraham

  • Cc cramm added

Ramiro, any opinion on this?

comment:7 Changed 8 months ago by timgraham

  • Cc ramiro added; cramm removed

comment:8 Changed 8 months ago by timgraham

The test also fails on 1.6.

comment:9 Changed 8 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 433e7dd5076e492290a90130c9b3e2b1319b2f95:

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

comment:10 Changed 8 months ago by Tim Graham <timograham@…>

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