Issue #15478: Fix again to fix test_os on Windows

This commit is contained in:
Victor Stinner 2012-10-31 22:16:38 +01:00
parent b024e84597
commit a0c811e439
2 changed files with 8 additions and 5 deletions

View file

@ -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