[New-bugs-announce] [issue15338] test_UNC_path failure in test_import

Antoine Pitrou report at bugs.python.org
Thu Jul 12 22:42:41 CEST 2012


New submission from Antoine Pitrou <pitrou at free.fr>:

On the Win64 buildbot, trying to access an UNC path raises PermissionError, which makes a test fail:

======================================================================
ERROR: test_UNC_path (test.test_import.PathsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_import.py", line 469, in test_UNC_path
    os.listdir(unc)
PermissionError: [Error 5] Access is denied: '\\\\hades\\D$\\buildbot.python.org\\3.x.kloth-win64\\build\\build\\test_python_3612\\@test_3612_tmp\\*.*'


If this is expected or normal, maybe we should simply skip the test when the listdir() call above fails.

----------
components: Library (Lib), Tests, Windows
messages: 165333
nosy: brian.curtin, jeremy.kloth, pitrou, tim.golden
priority: normal
severity: normal
status: open
title: test_UNC_path failure in test_import
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15338>
_______________________________________


More information about the New-bugs-announce mailing list