This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_pep277 failures under WIndows
Type: behavior Stage: resolved
Components: Tests, Windows Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: flox Nosy List: ezio.melotti, flox, loewis, pitrou, python-dev, vstinner
Priority: deferred blocker Keywords: buildbot

Created on 2011-11-07 19:02 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg147248 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-11-07 19:02
The 3.x Windows buildbots all fail in test_pep277.



======================================================================
FAIL: test_open (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 125, in test_open
    self._apply_failure(os.listdir, name, NotADirectoryError)
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 105, in _apply_failure
    (fn.__name__, filename, exc_filename))
AssertionError: '@test_2416_tmp\\6_\u306b\u307d\u3093\\*.*' != '@test_2416_tmp\\6_\u306b\u307d\u3093'
- @test_2416_tmp\6_\u306b\u307d\u3093\*.*
?                     ----
+ @test_2416_tmp\6_\u306b\u307d\u3093
 : Function 'listdir('@test_2416_tmp\\6_\u306b\u307d\u3093') failed with bad filename in the exception: '@test_2416_tmp\\6_\u306b\u307d\u3093\\*.*'

======================================================================
FAIL: test_open (test.test_pep277.UnicodeNFCFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 125, in test_open
    self._apply_failure(os.listdir, name, NotADirectoryError)
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 105, in _apply_failure
    (fn.__name__, filename, exc_filename))
AssertionError: '@test_2416_tmp\\10_\u0385�\\*.*' != '@test_2416_tmp\\10_\u0385�'
- @test_2416_tmp\10_\u0385�\*.*
?                     ----
+ @test_2416_tmp\10_\u0385�
 : Function 'listdir('@test_2416_tmp\\10_\u0385\xb4') failed with bad filename in the exception: '@test_2416_tmp\\10_\u0385\xb4\\*.*'

======================================================================
FAIL: test_open (test.test_pep277.UnicodeNFDFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 125, in test_open
    self._apply_failure(os.listdir, name, NotADirectoryError)
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 105, in _apply_failure
    (fn.__name__, filename, exc_filename))
AssertionError: '@test_2416_tmp\\9_\u66e8\u05e9\u3093\u0434\u0393�\\*.*' != '@test_2416_tmp\\9_\u66e8\u05e9\u3093\u0434\u0393�'
- @test_2416_tmp\9_\u66e8\u05e9\u3093\u0434\u0393�\*.*
?                        ----
+ @test_2416_tmp\9_\u66e8\u05e9\u3093\u0434\u0393�
 : Function 'listdir('@test_2416_tmp\\9_\u66e8\u05e9\u3093\u0434\u0393\xdf') failed with bad filename in the exception: '@test_2416_tmp\\9_\u66e8\u05e9\u3093\u0434\u0393\xdf\\*.*'

======================================================================
FAIL: test_open (test.test_pep277.UnicodeNFKCFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 125, in test_open
    self._apply_failure(os.listdir, name, NotADirectoryError)
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 105, in _apply_failure
    (fn.__name__, filename, exc_filename))
AssertionError: '@test_2416_tmp\\17_   A\\*.*' != '@test_2416_tmp\\17_   A'
- @test_2416_tmp\17_   A\*.*
?                       ----
+ @test_2416_tmp\17_   A
 : Function 'listdir('@test_2416_tmp\\17_   A') failed with bad filename in the exception: '@test_2416_tmp\\17_   A\\*.*'

======================================================================
FAIL: test_open (test.test_pep277.UnicodeNFKDFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 125, in test_open
    self._apply_failure(os.listdir, name, NotADirectoryError)
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_pep277.py", line 105, in _apply_failure
    (fn.__name__, filename, exc_filename))
AssertionError: '@test_2416_tmp\\11_ \u0308\u0301\u03a5\u0301\u03a5\u0308\\*.*' != '@test_2416_tmp\\11_ \u0308\u0301\u03a5\u0301\u03a5\u0308'
- @test_2416_tmp\11_ \u0308\u0301\u03a5\u0301\u03a5\u0308\*.*
?                          ----
+ @test_2416_tmp\11_ \u0308\u0301\u03a5\u0301\u03a5\u0308
 : Function 'listdir('@test_2416_tmp\\11_ \u0308\u0301\u03a5\u0301\u03a5\u0308') failed with bad filename in the exception: '@test_2416_tmp\\11_ \u0308\u0301\u03a5\u0301\u03a5\u0308\\*.*'
msg147250 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2011-11-07 19:14
I'm guilty on this one :-)
msg147255 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-07 20:57
New changeset 655d65bcc939 by Florent Xicluna in branch 'default':
Closes #13366: fix test_pep277 failure on Windows.
http://hg.python.org/cpython/rev/655d65bcc939
msg147260 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-07 22:24
New changeset 2cd6b417e488 by Florent Xicluna in branch 'default':
Some win32 platforms raise NotADirectoryError, others FileNotFoundError. Issue #13366.
http://hg.python.org/cpython/rev/2cd6b417e488
History
Date User Action Args
2022-04-11 14:57:23adminsetgithub: 57575
2011-11-07 22:24:26python-devsetmessages: + msg147260
2011-11-07 20:57:18python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg147255

resolution: fixed
stage: needs patch -> resolved
2011-11-07 19:14:54floxsetnosy: + flox
messages: + msg147250

assignee: flox
components: + Windows, - Interpreter Core
keywords: + buildbot
2011-11-07 19:02:01pitroucreate