mirror of https://github.com/python/cpython
Fix wording.
This commit is contained in:
parent
842b95b030
commit
9e220be19d
|
@ -38,8 +38,8 @@ class UnicodeFileTests(unittest.TestCase):
|
|||
f = open(name, 'w')
|
||||
except UnicodeEncodeError:
|
||||
if not os.path.supports_unicode_filenames:
|
||||
raise unittest.SkipTest("test works only on NT+, and with "
|
||||
"pseudo-Unicode filesystems")
|
||||
raise unittest.SkipTest("only NT+ and systems with Unicode"
|
||||
"-friendly filesystem encoding")
|
||||
f.write((name+'\n').encode("utf-8"))
|
||||
f.close()
|
||||
os.stat(name)
|
||||
|
|
Loading…
Reference in New Issue