Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_ntpath.py::unmodified

== PyPy 3.12.13 (8913d9282f84, Aug 17 2026, 07:32:43) [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_11592æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 1119794613
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_ntpath
test_abspath (test.test_ntpath.NtCommonTest.test_abspath) ... ok
test_abspath_issue3426 (test.test_ntpath.NtCommonTest.test_abspath_issue3426) ... ok
test_commonprefix (test.test_ntpath.NtCommonTest.test_commonprefix) ... ok
test_exists (test.test_ntpath.NtCommonTest.test_exists) ... ok
test_exists_fd (test.test_ntpath.NtCommonTest.test_exists_fd) ... ok
test_expandvars (test.test_ntpath.NtCommonTest.test_expandvars) ... ok
test_expandvars_large (test.test_ntpath.NtCommonTest.test_expandvars_large) ... skipped "resource 'cpu' is not enabled"
test_expandvars_nonascii (test.test_ntpath.NtCommonTest.test_expandvars_nonascii) ... ok
test_filetime (test.test_ntpath.NtCommonTest.test_filetime) ... ok
test_getsize (test.test_ntpath.NtCommonTest.test_getsize) ... ok
test_import (test.test_ntpath.NtCommonTest.test_import) ... ok
test_isdir (test.test_ntpath.NtCommonTest.test_isdir) ... ok
test_isfile (test.test_ntpath.NtCommonTest.test_isfile) ... ok
test_join_errors (test.test_ntpath.NtCommonTest.test_join_errors) ... ok
test_no_argument (test.test_ntpath.NtCommonTest.test_no_argument) ... ok
test_nonascii_abspath (test.test_ntpath.NtCommonTest.test_nonascii_abspath) ... ok
test_normcase (test.test_ntpath.NtCommonTest.test_normcase) ... ok
test_normpath_issue106242 (test.test_ntpath.NtCommonTest.test_normpath_issue106242) ... ok
test_normpath_issue5827 (test.test_ntpath.NtCommonTest.test_normpath_issue5827) ... ok
test_realpath (test.test_ntpath.NtCommonTest.test_realpath) ... ERROR
test_relpath_errors (test.test_ntpath.NtCommonTest.test_relpath_errors) ... ok
test_samefile (test.test_ntpath.NtCommonTest.test_samefile) ... ok
test_samefile_on_link (test.test_ntpath.NtCommonTest.test_samefile_on_link) ... ok
test_samefile_on_symlink (test.test_ntpath.NtCommonTest.test_samefile_on_symlink) ... ok
test_sameopenfile (test.test_ntpath.NtCommonTest.test_sameopenfile) ... ok
test_samestat (test.test_ntpath.NtCommonTest.test_samestat) ... ok
test_samestat_on_link (test.test_ntpath.NtCommonTest.test_samestat_on_link) ... ok
test_samestat_on_symlink (test.test_ntpath.NtCommonTest.test_samestat_on_symlink) ... ok
test_splitdrive (test.test_ntpath.NtCommonTest.test_splitdrive) ... ok
test_path_abspath (test.test_ntpath.PathLikeTests.test_path_abspath) ... ok
test_path_basename (test.test_ntpath.PathLikeTests.test_path_basename) ... ok
test_path_commonpath (test.test_ntpath.PathLikeTests.test_path_commonpath) ... ok
test_path_dirname (test.test_ntpath.PathLikeTests.test_path_dirname) ... ok
test_path_expanduser (test.test_ntpath.PathLikeTests.test_path_expanduser) ... ok
test_path_expandvars (test.test_ntpath.PathLikeTests.test_path_expandvars) ... ok
test_path_isabs (test.test_ntpath.PathLikeTests.test_path_isabs) ... ok
test_path_isdir (test.test_ntpath.PathLikeTests.test_path_isdir) ... ok
test_path_islink (test.test_ntpath.PathLikeTests.test_path_islink) ... ok
test_path_ismount (test.test_ntpath.PathLikeTests.test_path_ismount) ... ok
test_path_join (test.test_ntpath.PathLikeTests.test_path_join) ... ok
test_path_lexists (test.test_ntpath.PathLikeTests.test_path_lexists) ... ok
test_path_normcase (test.test_ntpath.PathLikeTests.test_path_normcase) ... FAIL
test_path_normpath (test.test_ntpath.PathLikeTests.test_path_normpath) ... ok
test_path_realpath (test.test_ntpath.PathLikeTests.test_path_realpath) ... ok
test_path_relpath (test.test_ntpath.PathLikeTests.test_path_relpath) ... ok
test_path_split (test.test_ntpath.PathLikeTests.test_path_split) ... ok
test_path_splitdrive (test.test_ntpath.PathLikeTests.test_path_splitdrive) ... ok
test_path_splitext (test.test_ntpath.PathLikeTests.test_path_splitext) ... ok
test_path_splitroot (test.test_ntpath.PathLikeTests.test_path_splitroot) ... ok
test_abspath (test.test_ntpath.TestNtpath.test_abspath) ... ERROR
test_commonpath (test.test_ntpath.TestNtpath.test_commonpath) ... ok
test_commonprefix (test.test_ntpath.TestNtpath.test_commonprefix) ... ok
test_con_device (test.test_ntpath.TestNtpath.test_con_device) ... ok
test_expanduser (test.test_ntpath.TestNtpath.test_expanduser) ... ok
test_expandvars (test.test_ntpath.TestNtpath.test_expandvars) ... ok
test_expandvars_large (test.test_ntpath.TestNtpath.test_expandvars_large) ... skipped "resource 'cpu' is not enabled"
test_expandvars_nonascii (test.test_ntpath.TestNtpath.test_expandvars_nonascii) ... ok
test_fast_paths_in_use (test.test_ntpath.TestNtpath.test_fast_paths_in_use) ... skipped 'implementation detail specific to cpython'
test_isabs (test.test_ntpath.TestNtpath.test_isabs) ... ok
test_isdevdrive (test.test_ntpath.TestNtpath.test_isdevdrive) ... ERROR
test_isdevdrive_fallback (test.test_ntpath.TestNtpath.test_isdevdrive_fallback) ... skipped 'isdevdrive fallback only used off Win32'
test_isfile_anonymous_pipe (test.test_ntpath.TestNtpath.test_isfile_anonymous_pipe) ... ok
test_isfile_driveletter (test.test_ntpath.TestNtpath.test_isfile_driveletter) ... ok
test_isfile_named_pipe (test.test_ntpath.TestNtpath.test_isfile_named_pipe) ... ERROR
test_isjunction (test.test_ntpath.TestNtpath.test_isjunction) ... ERROR
test_ismount (test.test_ntpath.TestNtpath.test_ismount) ... ok
test_join (test.test_ntpath.TestNtpath.test_join) ... ok
test_normpath (test.test_ntpath.TestNtpath.test_normpath) ... ok
test_nt_helpers (test.test_ntpath.TestNtpath.test_nt_helpers) ... ERROR
test_realpath_basic (test.test_ntpath.TestNtpath.test_realpath_basic) ... 
  test_realpath_basic (test.test_ntpath.TestNtpath.test_realpath_basic) [{}] ... ERROR
  test_realpath_basic (test.test_ntpath.TestNtpath.test_realpath_basic) [{'strict': True}] ... ERROR
  test_realpath_basic (test.test_ntpath.TestNtpath.test_realpath_basic) [{'strict': os.path.ALLOW_MISSING}] ... ERROR
test_realpath_broken_symlinks (test.test_ntpath.TestNtpath.test_realpath_broken_symlinks) ... ERROR
test_realpath_curdir (test.test_ntpath.TestNtpath.test_realpath_curdir) ... ERROR
test_realpath_curdir_missing_ok (test.test_ntpath.TestNtpath.test_realpath_curdir_missing_ok) ... ERROR
test_realpath_curdir_strict (test.test_ntpath.TestNtpath.test_realpath_curdir_strict) ... ERROR
test_realpath_cwd (test.test_ntpath.TestNtpath.test_realpath_cwd) ... ok
test_realpath_invalid_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_paths) ... FAIL
test_realpath_invalid_unicode_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_unicode_paths) ... 
  test_realpath_invalid_unicode_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_unicode_paths) [{}] ... FAIL
  test_realpath_invalid_unicode_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_unicode_paths) [{'strict': True}] ... FAIL
  test_realpath_invalid_unicode_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_unicode_paths) [{'strict': os.path.ALLOW_MISSING}] ... FAIL
test_realpath_nul (test.test_ntpath.TestNtpath.test_realpath_nul) ... ok
test_realpath_pardir (test.test_ntpath.TestNtpath.test_realpath_pardir) ... ok
test_realpath_pardir_missing_ok (test.test_ntpath.TestNtpath.test_realpath_pardir_missing_ok) ... ok
test_realpath_pardir_strict (test.test_ntpath.TestNtpath.test_realpath_pardir_strict) ... ok
test_realpath_relative (test.test_ntpath.TestNtpath.test_realpath_relative) ... ok
test_realpath_strict (test.test_ntpath.TestNtpath.test_realpath_strict) ... ok
test_realpath_symlink_loops (test.test_ntpath.TestNtpath.test_realpath_symlink_loops) ... ok
test_realpath_symlink_loops_raise (test.test_ntpath.TestNtpath.test_realpath_symlink_loops_raise) ... ok
test_realpath_symlink_loops_strict (test.test_ntpath.TestNtpath.test_realpath_symlink_loops_strict) ... ok
test_realpath_symlink_prefix (test.test_ntpath.TestNtpath.test_realpath_symlink_prefix) ... ok
test_relpath (test.test_ntpath.TestNtpath.test_relpath) ... ok
test_sameopenfile (test.test_ntpath.TestNtpath.test_sameopenfile) ... ok
test_split (test.test_ntpath.TestNtpath.test_split) ... ok
test_splitdrive (test.test_ntpath.TestNtpath.test_splitdrive) ... ok
test_splitext (test.test_ntpath.TestNtpath.test_splitext) ... ok
test_splitroot (test.test_ntpath.TestNtpath.test_splitroot) ... ok

======================================================================
ERROR: test_realpath (test.test_ntpath.NtCommonTest.test_realpath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 695, in realpath
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\foo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 639, in _getfinalpathname_nonstrict
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\foo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_genericpath.py", line 479, in test_realpath
    self.assertIn(b"foo", self.pathmodule.realpath(b"foo"))
                                          ^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 707, in realpath
    path = _getfinalpathname_nonstrict(path,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 648, in _getfinalpathname_nonstrict
    new_path = _readlink_deep(path,
               ^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 590, in _readlink_deep
    while normcase(path) not in seen:
          ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 78, in normcase
    return os.fsencode(os.fsdecode(s).replace('/', '\\').lower())
                          ^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\os.py", line 861, in fsdecode
    return filename.decode(encoding, errors)
                    ^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 45: invalid continuation byte

======================================================================
ERROR: test_abspath (test.test_ntpath.TestNtpath.test_abspath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 989, in test_abspath
    tester('ntpath.abspath(" ")', cwd_dir + "\\ ")
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 76, in tester
    if _norm(wantResult) != _norm(gotResult):
                            ^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 51, in _norm
    return ntpath.normcase(os.fsdecode(path))
                              ^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\os.py", line 861, in fsdecode
    return filename.decode(encoding, errors)
                    ^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 45: invalid continuation byte

======================================================================
ERROR: test_isdevdrive (test.test_ntpath.TestNtpath.test_isdevdrive)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 1247, in test_isdevdrive
    self.assertIn(ntpath.isdevdrive(os.listvolumes()[0]), (True, False))
                                       ^^^^^^^^^^^
AttributeError: module 'os' has no attribute 'listvolumes'

======================================================================
ERROR: test_isfile_named_pipe (test.test_ntpath.TestNtpath.test_isfile_named_pipe)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 1207, in test_isfile_named_pipe
    h = _winapi.CreateNamedPipe(named_pipe,
                ^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\_winapi.py", line 70, in CreateNamedPipe
    handle = _kernel32.CreateNamedPipeW(*args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: initializer for ctype 'struct _SECURITY_ATTRIBUTES *' must be a cdata pointer, not int

======================================================================
ERROR: test_isjunction (test.test_ntpath.TestNtpath.test_isjunction)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 1183, in test_isjunction
    self.assertTrue(ntpath.isjunction('testjunc'))
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 290, in isjunction
    return bool(st.st_reparse_tag == stat.IO_REPARSE_TAG_MOUNT_POINT)
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'stat' has no attribute 'IO_REPARSE_TAG_MOUNT_POINT'

======================================================================
ERROR: test_nt_helpers (test.test_ntpath.TestNtpath.test_nt_helpers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 1149, in test_nt_helpers
    volume_path = nt._getvolumepathname(path)
                     ^^^^^^^^^^^^^^^^^^
AttributeError: module 'nt' has no attribute '_getvolumepathname'

======================================================================
ERROR: test_realpath_basic (test.test_ntpath.TestNtpath.test_realpath_basic) [{}]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 96, in _parameterized
    func(self, *args, parameter, **kwargs)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 463, in test_realpath_basic
    drives = {f"{c}:\\" for c in string.ascii_uppercase} - set(os.listdrives())
                                                                  ^^^^^^^^^^
AttributeError: module 'os' has no attribute 'listdrives'

======================================================================
ERROR: test_realpath_basic (test.test_ntpath.TestNtpath.test_realpath_basic) [{'strict': True}]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 96, in _parameterized
    func(self, *args, parameter, **kwargs)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 463, in test_realpath_basic
    drives = {f"{c}:\\" for c in string.ascii_uppercase} - set(os.listdrives())
                                                                  ^^^^^^^^^^
AttributeError: module 'os' has no attribute 'listdrives'

======================================================================
ERROR: test_realpath_basic (test.test_ntpath.TestNtpath.test_realpath_basic) [{'strict': os.path.ALLOW_MISSING}]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 96, in _parameterized
    func(self, *args, parameter, **kwargs)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 463, in test_realpath_basic
    drives = {f"{c}:\\" for c in string.ascii_uppercase} - set(os.listdrives())
                                                                  ^^^^^^^^^^
AttributeError: module 'os' has no attribute 'listdrives'

======================================================================
ERROR: test_realpath_broken_symlinks (test.test_ntpath.TestNtpath.test_realpath_broken_symlinks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 695, in realpath
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\@test_11592_tmp\xe6\\broken'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 639, in _getfinalpathname_nonstrict
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\@test_11592_tmp\xe6\\broken'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 598, in test_realpath_broken_symlinks
    self.assertPathEqual(ntpath.realpath(b"broken"),
                                ^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 707, in realpath
    path = _getfinalpathname_nonstrict(path,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 648, in _getfinalpathname_nonstrict
    new_path = _readlink_deep(path,
               ^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 590, in _readlink_deep
    while normcase(path) not in seen:
          ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 78, in normcase
    return os.fsencode(os.fsdecode(s).replace('/', '\\').lower())
                          ^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\os.py", line 861, in fsdecode
    return filename.decode(encoding, errors)
                    ^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 45: invalid continuation byte

======================================================================
ERROR: test_realpath_curdir (test.test_ntpath.TestNtpath.test_realpath_curdir)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 695, in realpath
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\.'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 639, in _getfinalpathname_nonstrict
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\.'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 383, in test_realpath_curdir
    tester("ntpath.realpath('.')", expected)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 75, in tester
    gotResult = eval(fn)
                ^^^^^^^^
  File "<string>", line 1, in <module>
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 707, in realpath
    path = _getfinalpathname_nonstrict(path,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 648, in _getfinalpathname_nonstrict
    new_path = _readlink_deep(path,
               ^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 590, in _readlink_deep
    while normcase(path) not in seen:
          ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 78, in normcase
    return os.fsencode(os.fsdecode(s).replace('/', '\\').lower())
                          ^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\os.py", line 861, in fsdecode
    return filename.decode(encoding, errors)
                    ^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 45: invalid continuation byte

======================================================================
ERROR: test_realpath_curdir_missing_ok (test.test_ntpath.TestNtpath.test_realpath_curdir_missing_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 695, in realpath
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\.'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 639, in _getfinalpathname_nonstrict
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\.'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 399, in test_realpath_curdir_missing_ok
    tester("ntpath.realpath('.', strict=ALLOW_MISSING)",
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 75, in tester
    gotResult = eval(fn)
                ^^^^^^^^
  File "<string>", line 1, in <module>
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 707, in realpath
    path = _getfinalpathname_nonstrict(path,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 648, in _getfinalpathname_nonstrict
    new_path = _readlink_deep(path,
               ^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 590, in _readlink_deep
    while normcase(path) not in seen:
          ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 78, in normcase
    return os.fsencode(os.fsdecode(s).replace('/', '\\').lower())
                          ^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\os.py", line 861, in fsdecode
    return filename.decode(encoding, errors)
                    ^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 45: invalid continuation byte

======================================================================
ERROR: test_realpath_curdir_strict (test.test_ntpath.TestNtpath.test_realpath_curdir_strict)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 391, in test_realpath_curdir_strict
    tester("ntpath.realpath('.', strict=True)", expected)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 75, in tester
    gotResult = eval(fn)
                ^^^^^^^^
  File "<string>", line 1, in <module>
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\ntpath.py", line 695, in realpath
    path = _getfinalpathname(path)
           ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6\\.'

======================================================================
FAIL: test_path_normcase (test.test_ntpath.PathLikeTests.test_path_normcase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 1282, in test_path_normcase
    self.assertEqual(ntpath.normcase('\u03a9\u2126'), 'ωΩ')
         ^^^^^^^^^^^
AssertionError: 'ωω' != 'ωΩ'
- ωω
+ ωΩ


======================================================================
FAIL: test_realpath_invalid_paths (test.test_ntpath.TestNtpath.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_ntpath.py", line 515, in test_realpath_invalid_paths
    self.assertEqual(realpath(path, strict=False), os.getcwdb())
         ^^^^^^^^^^^
AssertionError: b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xc3\xa6' != b'D:\\SystemTemp\\pytest\\test_python_worker_11592\xe6'

======================================================================
FAIL: test_realpath_invalid_unicode_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_unicode_paths) [{}]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 96, in _parameterized
    func(self, *args, parameter, **kwargs)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 540, in test_realpath_invalid_unicode_paths
    self.assertRaises(UnicodeDecodeError, ntpath.realpath, path, **kwargs)
AssertionError: UnicodeDecodeError not raised by realpath

======================================================================
FAIL: test_realpath_invalid_unicode_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_unicode_paths) [{'strict': True}]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 96, in _parameterized
    func(self, *args, parameter, **kwargs)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 540, in test_realpath_invalid_unicode_paths
    self.assertRaises(UnicodeDecodeError, ntpath.realpath, path, **kwargs)
AssertionError: UnicodeDecodeError not raised by realpath

======================================================================
FAIL: test_realpath_invalid_unicode_paths (test.test_ntpath.TestNtpath.test_realpath_invalid_unicode_paths) [{'strict': os.path.ALLOW_MISSING}]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 96, in _parameterized
    func(self, *args, parameter, **kwargs)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_ntpath.py", line 540, in test_realpath_invalid_unicode_paths
    self.assertRaises(UnicodeDecodeError, ntpath.realpath, path, **kwargs)
AssertionError: UnicodeDecodeError not raised by realpath

----------------------------------------------------------------------
Ran 93 tests in 0.345s

FAILED (failures=5, errors=13, skipped=4)
0:00:00 [1/1/1] test_ntpath failed (13 errors, 5 failures)

== Tests result: FAILURE ==

1 test failed:
    test_ntpath

Total duration: 644 ms
Total tests: run=93 failures=5 skipped=4
Total test files: run=1/1 failed=1
Result: FAILURE
test test_ntpath failed
builder: pypy-c-jit-win-x86-64 build #2500+
test: lib-python/3/test/test_ntpath.py::unmodified