[issue27426] Encoding mismatch causes some tests to fail on Windows

2019-01-15 Thread STINNER Victor


STINNER Victor  added the comment:

I'm quite sure that this bug has been fixed in the meanwhile. If it still 
fails, please give more information about your configuration: ANSI code page, 
regional configuration, Windows version, etc.

--
nosy: +vstinner
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27426] Encoding mismatch causes some tests to fail on Windows

2017-09-25 Thread Denis Osipov

Changes by Denis Osipov :


--
keywords: +patch
pull_requests: +3727
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27426] Encoding mismatch causes some tests to fail on Windows

2016-06-30 Thread Emanuel Barry

New submission from Emanuel Barry:

Specifically, test_strptime fails:

ss.F.E...
==
ERROR: test_timezone (__main__.StrptimeTests)
--
Traceback (most recent call last):
  File "E:\GitHub\cpython\lib\test\test_strptime.py", line 330, in test_timezone
strp_output = _strptime._strptime_time(strf_output, "%Z")
  File "E:\GitHub\cpython\lib\_strptime.py", line 559, in _strptime_time
tt = _strptime(data_string, format)[0]
  File "E:\GitHub\cpython\lib\_strptime.py", line 365, in _strptime
data_string[found.end():])
ValueError: unconverted data remains:  (heure d?été)

==
FAIL: test_timezone (__main__.LocaleTime_Tests)
--
Traceback (most recent call last):
  File "E:\GitHub\cpython\lib\test\test_strptime.py", line 78, in test_timezone
(timezone, self.LT_ins.timezone))
AssertionError: False is not true : timezone est (heure d?été) not found in 
(frozenset({'utc', 'est', 'gmt'}), frozenset({'est (heure d\x92été)'}))

--
Ran 49 tests in 0.128s

FAILED (failures=1, errors=1, skipped=2)

Eryk Sun explains the cause in http://bugs.python.org/issue26226#msg269462

--
components: Tests, Windows
messages: 269608
nosy: ebarry, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Encoding mismatch causes some tests to fail on Windows
type: behavior
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com