You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_site: test_underpth_basic() fails if the current directory is non-ASCII #109237
Failure on GHA Windows x64 CI with PR #109229 which runs test_site in a non-ASCII working directory:
FAIL: test_underpth_basic (test.test_site._pthFileTests.test_underpth_basic)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\a\cpython\cpython\Lib\test\test_site.py", line 621, in test_underpth_basic
self.assertEqual(
AssertionError: Lists differ: ['D:\[40 chars]_1460\udce6', 'D:\\a\\cpython\\cpython\\PCbuil[396 chars]18f'] != ['D:\[40 chars]_1460�', 'D:\\a\\cpython\\cpython\\PCbuild\\am[391 chars]18f']
First differing element 0:
'D:\\a\\cpython\\cpython\\build\\test_python_1460\udce6'
'D:\\a\\cpython\\cpython\\build\\test_python_1460�'
Diff is 690 characters long. Set self.maxDiff to None to see it. : sys.path is incorrect
Activity
pythongh-109237: Fix test_site for non-ASCII working directory
vstinner commentedon Sep 10, 2023
Example:
gh-109237: Fix test_site for non-ASCII working directory (#109238)
pythongh-109237: Fix test_site for non-ASCII working directory (pytho…
pythongh-109237: Fix test_site for non-ASCII working directory (pytho…
[3.11] gh-109237: Fix test_site for non-ASCII working directory (GH-1…
[3.12] gh-109237: Fix test_site for non-ASCII working directory (GH-1…