Bugs item #1029561, was opened at 2004-09-17 08:24
Message generated for change (Comment added) made by quiver
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1029561&group_id=5470

Category: Windows
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Marek Baczynski (imbaczek)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_pep277 fails

Initial Comment:
Running regrtest.py:

test_pep277
test test_pep277 produced unexpected output:
**********************************************************************
*** mismatch between line 3 of expected output and line
3 of actual output:
- ['???', '???', '??????', '????????????', '????G\xdf',
'Ge??-sa?', 'Gr\xfc\xdf-Gott', 'abc', 'ascii']
?                                               ^     
------------
+ ['???', '???', '????-???', '??????', '????????????',
'?????\xdf', 'Gr\xfc\xdf-Gott', 'abc', 'ascii']
?               ++++++++++++                          
     ^
**********************************************************************

But when running just test_pep277.py:
test_directory (__main__.UnicodeFileTests) ...
u'\xdf-\u66e8\u66e9\u66eb'
ok
test_failures (__main__.UnicodeFileTests) ... ok
test_listdir (__main__.UnicodeFileTests) ... ['???',
'???', '????-???', '??????', '????????????',
'?????\xdf', 'Gr\xfc\xdf-Gott', 'abc', 'ascii']
[u'Gr\xfc\xdf-Gott', u'abc', u'ascii',
u'\u0393\u03b5\u03b9\u03ac-\u03c3\u03b1\u03c2',
u'\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435',
u'\u05d4\u05e9\u05e7\u05e6\u05e5\u05e1',
u'\u306b\u307d\u3093',
u'\u66e8\u05e9\u3093\u0434\u0393\xdf',
u'\u66e8\u66e9\u66eb']
ok
test_open (__main__.UnicodeFileTests) ... ok
test_rename (__main__.UnicodeFileTests) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.109s

OK


----------------------------------------------------------------------

Comment By: George Yoshida (quiver)
Date: 2005-01-28 05:58

Message:
Logged In: YES 
user_id=671362

Changes against Lib/test/test_pep277.py(Revision 1.9) and 
Lib/test/output/test_pep277(Revision 1.3) ironed out the 
problem with Python 2.4, but the same error can be seen with 
Python 2.3.5 RC1.

Is there any chance that they're backported to 2.3 branch 
before 2.3.5 final gets released?

----------------------------------------------------------------------

Comment By: Facundo Batista (facundobatista)
Date: 2004-10-21 12:15

Message:
Logged In: YES 
user_id=752496

The tests (through regrtest.py and alone) pass OK to me.

Using (Win2k SP4), Python 2.4b1 (#57, Oct 15 2004, 15:23:38)
[MSC v.1310 32 bit (Intel)] on win32, and:

>>> import locale
>>> locale.getlocale()
['Spanish_Argentina', '1252']

.    Facundo

----------------------------------------------------------------------

Comment By: Miki Tebeka (tebeka)
Date: 2004-10-18 01:06

Message:
Logged In: YES 
user_id=358087

Fails for me on 2.4b1 on winXP

----------------------------------------------------------------------

Comment By: George Yoshida (quiver)
Date: 2004-09-17 18:55

Message:
Logged In: YES 
user_id=671362

Same for me.
Fail for regrtest.py, but OK for test_277.py in isolation.
(Python 2.4a3, Windows 2K SP4, locale:Japan)

But my output is a bit different from yours.

test test_pep277 produced unexpected output:
**********************************************
************************
*** mismatch between line 3 of expected output and line 3 
of actual output:
- ['???', '???', '??????', '????????????', '????G\xdf', 'Ge??-
sa?', 'Gr\xfc\xdf-Gott', 'abc', 'ascii']
+ ['??????', '??\x82\xf1\x84t\x83\xa1s', '?\x9eG?', 'Grus-
Gott', 'abc', 'ascii', '\x82\xc9\x82\xdb\x82\xf1', '\x83\xa1\x83
\xc3\x83\xc7?-\x83\xd0\x83\xbf?', '\x84H\x84t\x84\x82
\x84p\x84r\x84\x83\x84\x84\x84r\x84\x85\x84z\x84\x84\x84u']
**********************************************
************************

This reminds me of the next thread:
* More joy with test_strptime
  http://mail.python.org/pipermail/python-dev/2004-
July/046046.html


----------------------------------------------------------------------

Comment By: Marek Baczynski (imbaczek)
Date: 2004-09-17 08:25

Message:
Logged In: YES 
user_id=838849

Forgot: Windows XP SP1, Python 2.4a3

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1029561&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to