lib-python/3/test/test_fnmatch.py::unmodified
== PyPy 3.11.15 (2bd2c8c11256, Jul 04 2026, 03:52:57) [PyPy 7.3.24-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_1628æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1679788096
0:00:00 Run 1 test sequentially
0:00:00 [1/1] test_fnmatch
test_case (test.test_fnmatch.FilterTestCase.test_case) ... ok
test_filter (test.test_fnmatch.FilterTestCase.test_filter) ... ok
test_mix_bytes_str (test.test_fnmatch.FilterTestCase.test_mix_bytes_str) ... ok
test_sep (test.test_fnmatch.FilterTestCase.test_sep) ... ok
test_bytes (test.test_fnmatch.FnmatchTestCase.test_bytes) ... ERROR
test_case (test.test_fnmatch.FnmatchTestCase.test_case) ... ok
test_char_set (test.test_fnmatch.FnmatchTestCase.test_char_set) ... ok
test_fnmatch (test.test_fnmatch.FnmatchTestCase.test_fnmatch) ... ok
test_fnmatchcase (test.test_fnmatch.FnmatchTestCase.test_fnmatchcase) ... ok
test_mix_bytes_str (test.test_fnmatch.FnmatchTestCase.test_mix_bytes_str) ... ok
test_range (test.test_fnmatch.FnmatchTestCase.test_range) ... ok
test_sep (test.test_fnmatch.FnmatchTestCase.test_sep) ... ok
test_sep_in_char_set (test.test_fnmatch.FnmatchTestCase.test_sep_in_char_set) ... ok
test_sep_in_range (test.test_fnmatch.FnmatchTestCase.test_sep_in_range) ... ok
test_slow_fnmatch (test.test_fnmatch.FnmatchTestCase.test_slow_fnmatch) ... ok
test_warnings (test.test_fnmatch.FnmatchTestCase.test_warnings) ... ok
test_translate (test.test_fnmatch.TranslateTestCase.test_translate) ... ok
======================================================================
ERROR: test_bytes (test.test_fnmatch.FnmatchTestCase.test_bytes)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_fnmatch.py", line 76, in test_bytes
self.check_match(b'test\xff', b'te*\xff')
^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_fnmatch.py", line 14, in check_match
self.assertTrue(fn(filename, pattern),
^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\fnmatch.py", line 34, in fnmatch
name = os.path.normcase(name)
^^^^^^^^
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 826, in fsdecode
return filename.decode(encoding, errors)
^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 4: invalid start byte
----------------------------------------------------------------------
Ran 17 tests in 0.065s
FAILED (errors=1)
test_fnmatch failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_fnmatch
Total duration: 298 ms
Total tests: run=17
Total test files: run=1/1 failed=1
Result: FAILURE
test test_fnmatch failed
builder: pypy-c-jit-win-x86-64 build #2426+
test: lib-python/3/test/test_fnmatch.py::unmodified