lib-python/3/test/test_posixpath.py::unmodified
== PyPy 3.11.15 (a0a2919ebcf6, Jul 09 2026, 03:58:26) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_4620æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1054221812
0:00:03 Run 1 test sequentially
0:00:03 [1/1] test_posixpath
test_path_abspath (test.test_posixpath.PathLikeTests.test_path_abspath) ... ok
test_path_basename (test.test_posixpath.PathLikeTests.test_path_basename) ... ok
test_path_commonpath (test.test_posixpath.PathLikeTests.test_path_commonpath) ... ok
test_path_dirname (test.test_posixpath.PathLikeTests.test_path_dirname) ... ok
test_path_expanduser (test.test_posixpath.PathLikeTests.test_path_expanduser) ... ok
test_path_expandvars (test.test_posixpath.PathLikeTests.test_path_expandvars) ... ok
test_path_isabs (test.test_posixpath.PathLikeTests.test_path_isabs) ... ok
test_path_islink (test.test_posixpath.PathLikeTests.test_path_islink) ... ok
test_path_ismount (test.test_posixpath.PathLikeTests.test_path_ismount) ... ok
test_path_join (test.test_posixpath.PathLikeTests.test_path_join) ... ok
test_path_lexists (test.test_posixpath.PathLikeTests.test_path_lexists) ... ok
test_path_normcase (test.test_posixpath.PathLikeTests.test_path_normcase) ... ok
test_path_normpath (test.test_posixpath.PathLikeTests.test_path_normpath) ... ok
test_path_realpath (test.test_posixpath.PathLikeTests.test_path_realpath) ... ok
test_path_relpath (test.test_posixpath.PathLikeTests.test_path_relpath) ... ok
test_path_split (test.test_posixpath.PathLikeTests.test_path_split) ... ok
test_path_splitdrive (test.test_posixpath.PathLikeTests.test_path_splitdrive) ... ok
test_path_splitext (test.test_posixpath.PathLikeTests.test_path_splitext) ... ok
test_abspath (test.test_posixpath.PosixCommonTest.test_abspath) ... ok
test_abspath_issue3426 (test.test_posixpath.PosixCommonTest.test_abspath_issue3426) ... ok
test_commonprefix (test.test_posixpath.PosixCommonTest.test_commonprefix) ... ok
test_exists (test.test_posixpath.PosixCommonTest.test_exists) ... ok
test_exists_fd (test.test_posixpath.PosixCommonTest.test_exists_fd) ... ok
test_expandvars (test.test_posixpath.PosixCommonTest.test_expandvars) ... ok
test_expandvars_large (test.test_posixpath.PosixCommonTest.test_expandvars_large) ... skipped "resource 'cpu' is not enabled"
test_expandvars_nonascii (test.test_posixpath.PosixCommonTest.test_expandvars_nonascii) ... ok
test_filetime (test.test_posixpath.PosixCommonTest.test_filetime) ... ok
test_getsize (test.test_posixpath.PosixCommonTest.test_getsize) ... ok
test_import (test.test_posixpath.PosixCommonTest.test_import) ... ok
test_isdir (test.test_posixpath.PosixCommonTest.test_isdir) ... ok
test_isfile (test.test_posixpath.PosixCommonTest.test_isfile) ... ok
test_join_errors (test.test_posixpath.PosixCommonTest.test_join_errors) ... ok
test_no_argument (test.test_posixpath.PosixCommonTest.test_no_argument) ... ok
test_nonascii_abspath (test.test_posixpath.PosixCommonTest.test_nonascii_abspath) ... ok
test_normcase (test.test_posixpath.PosixCommonTest.test_normcase) ... ok
test_normpath_issue106242 (test.test_posixpath.PosixCommonTest.test_normpath_issue106242) ... ok
test_normpath_issue5827 (test.test_posixpath.PosixCommonTest.test_normpath_issue5827) ... ok
test_realpath (test.test_posixpath.PosixCommonTest.test_realpath) ... ok
test_relpath_errors (test.test_posixpath.PosixCommonTest.test_relpath_errors) ... ok
test_samefile (test.test_posixpath.PosixCommonTest.test_samefile) ... ok
test_samefile_on_link (test.test_posixpath.PosixCommonTest.test_samefile_on_link) ... ok
test_samefile_on_symlink (test.test_posixpath.PosixCommonTest.test_samefile_on_symlink) ... ok
test_sameopenfile (test.test_posixpath.PosixCommonTest.test_sameopenfile) ... ok
test_samestat (test.test_posixpath.PosixCommonTest.test_samestat) ... ok
test_samestat_on_link (test.test_posixpath.PosixCommonTest.test_samestat_on_link) ... ok
test_samestat_on_symlink (test.test_posixpath.PosixCommonTest.test_samestat_on_symlink) ... ok
test_splitdrive (test.test_posixpath.PosixCommonTest.test_splitdrive) ... ok
test_basename (test.test_posixpath.PosixPathTest.test_basename) ... ok
test_commonpath (test.test_posixpath.PosixPathTest.test_commonpath) ... ok
test_dirname (test.test_posixpath.PosixPathTest.test_dirname) ... ok
test_expanduser (test.test_posixpath.PosixPathTest.test_expanduser) ... ok
test_expanduser_home_envvar (test.test_posixpath.PosixPathTest.test_expanduser_home_envvar) ... ok
test_expanduser_pwd (test.test_posixpath.PosixPathTest.test_expanduser_pwd) ... skipped "No module named 'pwd'"
test_isabs (test.test_posixpath.PosixPathTest.test_isabs) ... ok
test_islink (test.test_posixpath.PosixPathTest.test_islink) ... ok
test_ismount (test.test_posixpath.PosixPathTest.test_ismount) ... ok
test_ismount_different_device (test.test_posixpath.PosixPathTest.test_ismount_different_device) ... skipped 'Test requires posix module'
test_ismount_directory_not_readable (test.test_posixpath.PosixPathTest.test_ismount_directory_not_readable) ... skipped 'Test requires posix module'
test_ismount_non_existent (test.test_posixpath.PosixPathTest.test_ismount_non_existent) ... ok
test_ismount_symlinks (test.test_posixpath.PosixPathTest.test_ismount_symlinks) ... ok
test_join (test.test_posixpath.PosixPathTest.test_join) ... ok
test_normpath (test.test_posixpath.PosixPathTest.test_normpath) ... ok
test_realpath_basic (test.test_posixpath.PosixPathTest.test_realpath_basic) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_curdir (test.test_posixpath.PosixPathTest.test_realpath_curdir) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_deep_recursion (test.test_posixpath.PosixPathTest.test_realpath_deep_recursion) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_invalid_paths (test.test_posixpath.PosixPathTest.test_realpath_invalid_paths) ... ERROR
test_realpath_missing_pardir (test.test_posixpath.PosixPathTest.test_realpath_missing_pardir) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_pardir (test.test_posixpath.PosixPathTest.test_realpath_pardir) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_relative (test.test_posixpath.PosixPathTest.test_realpath_relative) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_repeated_indirect_symlinks (test.test_posixpath.PosixPathTest.test_realpath_repeated_indirect_symlinks) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_resolve_before_normalizing (test.test_posixpath.PosixPathTest.test_realpath_resolve_before_normalizing) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_resolve_first (test.test_posixpath.PosixPathTest.test_realpath_resolve_first) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_resolve_parents (test.test_posixpath.PosixPathTest.test_realpath_resolve_parents) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_strict (test.test_posixpath.PosixPathTest.test_realpath_strict) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_symlink_loops (test.test_posixpath.PosixPathTest.test_realpath_symlink_loops) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_symlink_loops_strict (test.test_posixpath.PosixPathTest.test_realpath_symlink_loops_strict) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_unreadable_directory (test.test_posixpath.PosixPathTest.test_realpath_unreadable_directory) ... skipped 'ABSTFN is not a posix path - tests fail'
test_realpath_unreadable_symlink_strict (test.test_posixpath.PosixPathTest.test_realpath_unreadable_symlink_strict) ... skipped 'ABSTFN is not a posix path - tests fail'
test_relpath (test.test_posixpath.PosixPathTest.test_relpath) ... ok
test_relpath_bytes (test.test_posixpath.PosixPathTest.test_relpath_bytes) ... ok
test_split (test.test_posixpath.PosixPathTest.test_split) ... ok
test_splitext (test.test_posixpath.PosixPathTest.test_splitext) ... ok
======================================================================
ERROR: test_realpath_invalid_paths (test.test_posixpath.PosixPathTest.test_realpath_invalid_paths)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_posixpath.py", line 475, in test_realpath_invalid_paths
self.assertEqual(realpath(path, strict=False), path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\posixpath.py", line 413, in realpath
path, ok = _joinrealpath(filename[:0], filename, strict, {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\posixpath.py", line 457, in _joinrealpath
st = os.lstat(newpath)
^^^^^
UnicodeEncodeError: 'utf-8' codec can't encode character '\udfff' in position 1: surrogates not allowed
----------------------------------------------------------------------
Ran 82 tests in 1.788s
FAILED (errors=1, skipped=19)
test_posixpath failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_posixpath
Total duration: 5.8 sec
Total tests: run=82 skipped=19
Total test files: run=1/1 failed=1
Result: FAILURE
test test_posixpath failed
builder: pypy-c-jit-win-x86-64 build #2431+
test: lib-python/3/test/test_posixpath.py::unmodified