kadler / cpython

The Python programming language
https://www.python.org/
Other
2 stars 2 forks source link

Test failures in test_shutil pt 2 #16

Open kadler opened 3 years ago

kadler commented 3 years ago
======================================================================
ERROR: test_on_error (test.test_shutil.TestRmTree)
----------------------------------------------------------------------
FileNotFoundError: [Errno 2] No such file or directory: '@test_1130295_tmp/b'

======================================================================
ERROR: test_on_error (test.test_shutil.TestRmTree)
----------------------------------------------------------------------
FileNotFoundError: [Errno 2] No such file or directory: '@test_1130295_tmp/a'

======================================================================
ERROR: test_on_error (test.test_shutil.TestRmTree)
----------------------------------------------------------------------
FileNotFoundError: [Errno 2] No such file or directory: '@test_1130295_tmp'

======================================================================
ERROR: test_on_error (test.test_shutil.TestRmTree)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/shutil.py", line 731, in rmtree
    return _rmtree_unsafe(path, onerror)
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/shutil.py", line 590, in _rmtree_unsafe
    onerror(os.scandir, path, sys.exc_info())
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/shutil.py", line 587, in _rmtree_unsafe
    with os.scandir(path) as scandir_it:
FileNotFoundError: [Errno 2] No such file or directory: '@test_1130295_tmp'

======================================================================
FAIL: test_on_error (test.test_shutil.TestRmTree)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/test/test_shutil.py", line 333, in test_on_error
    self.assertEqual(self.errorState, 3,
AssertionError: 0 != 3 : Expected call to onerror function did not happen.