[issue14662] shutil.move doesn't handle ENOTSUP raised by chflags on OS X

Antoine Pitrou report at bugs.python.org
Wed May 2 15:30:34 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

The test fails here (Linux), since there's no os.chflags:

======================================================================
ERROR: test_copystat_handles_harmless_chflags_errors (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/test_shutil.py", line 302, in test_copystat_handles_harmless_chflags_errors
    old_chflags = os.chflags
AttributeError: 'module' object has no attribute 'chflags'

----------

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


More information about the Python-bugs-list mailing list