[issue20876] python -m test test_pathlib fails
Antoine Pitrou
report at bugs.python.org
Tue Mar 11 20:43:55 CET 2014
Antoine Pitrou added the comment:
NFS should certainly be supported as far as the stdlib goes, but I'm not sure the whole test suite is guaranteed to succeed.
Also, in this case, the behaviour is weird, e.g.:
======================================================================
ERROR: test_glob (test.test_pathlib.PosixPathTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/net/files/home/jey/cpython/Lib/shutil.py", line 463, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/net/files/home/jey/cpython/Lib/shutil.py", line 421, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/net/files/home/jey/cpython/Lib/shutil.py", line 419, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
OSError: [Errno 16] Device or resource busy: '.nfs0000000001e5f7650000a673'
test_pathlib certainly doesn't create files named ".nfsXXX", so there's something else.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20876>
_______________________________________
More information about the Python-bugs-list
mailing list