Skip to content

Commit cd12e6c

Browse files
committed
Merge remote-tracking branch 'upstream/3.11' into 3.11
2 parents 9a40444 + 38bcbb2 commit cd12e6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_venv.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ def test_prefixes(self):
253253
('base_exec_prefix', sys.base_exec_prefix)):
254254
cmd[2] = 'import sys; print(sys.%s)' % prefix
255255
out, err = check_output(cmd)
256-
self.assertEqual(out.strip(), expected.encode(), prefix)
256+
self.assertEqual(pathlib.Path(out.strip().decode()),
257+
pathlib.Path(expected), prefix)
257258

258259
@requireVenvCreate
259260
def test_sysconfig(self):

0 commit comments

Comments
 (0)