New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

$ ./python -X frozen_modules=off -m test -vuall test_tools -m 
test_freeze_simple_script
...
======================================================================
ERROR: test_freeze_simple_script (test.test_tools.test_freeze.TestFreeze)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/serhiy/py/cpython/Lib/test/support/os_helper.py", line 396, in 
temp_dir
    yield path
    ^^^^^^^^^^
  File "/home/serhiy/py/cpython/Lib/test/test_tools/test_freeze.py", line 27, 
in test_freeze_simple_script
    outdir, scriptfile, python = helper.prepare(script, outdir)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/serhiy/py/cpython/Tools/freeze/test/freeze.py", line 134, in 
prepare
    copy_source_tree(srcdir, SRCDIR)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/serhiy/py/cpython/Tools/freeze/test/freeze.py", line 83, in 
copy_source_tree
    shutil.copytree(oldroot, newroot)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/serhiy/py/cpython/Lib/shutil.py", line 558, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/serhiy/py/cpython/Lib/shutil.py", line 514, in _copytree
    raise Error(errors)
    ^^^^^^^^^^^^^^^^^^^
shutil.Error: [('/home/serhiy/py/cpython/tmp/y', 
'/tmp/tmp1swfh4ik/cpython/tmp/y', "[Errno 2] No such file or directory: 
'/home/serhiy/py/cpython/tmp/y'"), ('/home/serhiy/py/cpython/link', 
'/tmp/tmp1swfh4ik/cpython/link', "[Errno 2] No such file or directory: 
'/home/serhiy/py/cpython/link'"), 
('/home/serhiy/py/cpython/Tools/unicode/python-mappings/CP932.TXT', 
'/tmp/tmp1swfh4ik/cpython/Tools/unicode/python-mappings/CP932.TXT', "[Errno 5] 
Input/output error: 
'/home/serhiy/py/cpython/Tools/unicode/python-mappings/CP932.TXT' -> 
'/tmp/tmp1swfh4ik/cpython/Tools/unicode/python-mappings/CP932.TXT'"), 
('/home/serhiy/py/cpython/Tools/unicode/python-mappings-/CP949.TXT', 
'/tmp/tmp1swfh4ik/cpython/Tools/unicode/python-mappings-/CP949.TXT', "[Errno 5] 
Input/output error: 
'/home/serhiy/py/cpython/Tools/unicode/python-mappings-/CP949.TXT' -> 
'/tmp/tmp1swfh4ik/cpython/Tools/unicode/python-mappings-/CP949.TXT'"), 
('/home/serhiy/py/cpython/Python/y', '/tmp/tmp1swfh4ik/cpython/Python/y', 
"[Errno 2] No 
 such file or directory: '/home/serhiy/py/cpython/Python/y'"), 
('/home/serhiy/py/cpython/dl', '/tmp/tmp1swfh4ik/cpython/dl', "[Errno 2] No 
such file or directory: '/home/serhiy/py/cpython/dl'"), 
('/home/serhiy/py/cpython/issue36694/out.pickle', 
'/tmp/tmp1swfh4ik/cpython/issue36694/out.pickle', "[Errno 5] Input/output 
error: '/home/serhiy/py/cpython/issue36694/out.pickle' -> 
'/tmp/tmp1swfh4ik/cpython/issue36694/out.pickle'")]

----------------------------------------------------------------------

----------
components: Demos and Tools, Tests
messages: 416001
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_freeze_simple_script in test_tools fails
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue47119>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to