[New-bugs-announce] [issue12117] test_importlib failure

Antoine Pitrou report at bugs.python.org
Thu May 19 18:18:06 CEST 2011


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

I get the following failure under a fresh checkout:

======================================================================
ERROR: test_file_from_empty_string_dir (importlib.test.source.test_file_loader.SimpleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/t/cpython/Lib/importlib/test/source/test_file_loader.py", line 129, in test_file_from_empty_string_dir
    shutil.rmtree(pycache)
  File "/home/antoine/t/cpython/Lib/shutil.py", line 270, in rmtree
    onerror(os.listdir, path, sys.exc_info())
  File "/home/antoine/t/cpython/Lib/shutil.py", line 268, in rmtree
    names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '__pycache__'

----------
assignee: brett.cannon
components: Tests
messages: 136299
nosy: barry, brett.cannon, ncoghlan, pitrou
priority: normal
severity: normal
status: open
title: test_importlib failure
type: behavior
versions: Python 3.3

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


More information about the New-bugs-announce mailing list