mirror of
https://github.com/python/cpython.git
synced 2025-10-27 11:44:39 +00:00
Issue #15478: Fix again to fix test_os on Windows
This commit is contained in:
parent
b024e84597
commit
a0c811e439
2 changed files with 8 additions and 5 deletions
|
|
@ -654,7 +654,7 @@ def _is_ipv6_enabled():
|
|||
for name in (b'abc\xff', b'\xe7w\xf0'):
|
||||
try:
|
||||
os.fsdecode(name)
|
||||
except UnicodeDecodeErorr:
|
||||
except UnicodeDecodeError:
|
||||
TESTFN_UNDECODABLE = name
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue