mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix wording.
This commit is contained in:
parent
842b95b030
commit
9e220be19d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue