diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-13 22:23:24 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-13 22:23:24 (GMT) |
commit | 09c449c7de0fea077ceaee5cb04017d6994341e7 (patch) | |
tree | ed3a5e7181c15328a6f8ac559b4863c6fe7dd969 /Lib/test/test_unicode_file.py | |
parent | 042b128f58a952b2cd04bd5b7401bd54c67a687e (diff) | |
download | cpython-09c449c7de0fea077ceaee5cb04017d6994341e7.zip cpython-09c449c7de0fea077ceaee5cb04017d6994341e7.tar.gz cpython-09c449c7de0fea077ceaee5cb04017d6994341e7.tar.bz2 |
Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE
Diffstat (limited to 'Lib/test/test_unicode_file.py')
-rw-r--r-- | Lib/test/test_unicode_file.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_unicode_file.py b/Lib/test/test_unicode_file.py index 7c2a1b4..f9dd54d 100644 --- a/Lib/test/test_unicode_file.py +++ b/Lib/test/test_unicode_file.py @@ -6,7 +6,7 @@ import unicodedata import unittest from test.support import (run_unittest, rmtree, - TESTFN_ENCODING, TESTFN_UNICODE, TESTFN_UNENCODEABLE) + TESTFN_ENCODING, TESTFN_UNICODE, TESTFN_UNENCODABLE) try: TESTFN_UNICODE.encode(TESTFN_ENCODING) @@ -147,8 +147,8 @@ class TestUnicodeFiles(unittest.TestCase): # _test functions with each of the filename combinations we wish to test def test_single_files(self): self._test_single(TESTFN_UNICODE) - if TESTFN_UNENCODEABLE is not None: - self._test_single(TESTFN_UNENCODEABLE) + if TESTFN_UNENCODABLE is not None: + self._test_single(TESTFN_UNENCODABLE) def test_directories(self): # For all 'equivalent' combinations: @@ -157,9 +157,9 @@ class TestUnicodeFiles(unittest.TestCase): ext = ".dir" self._do_directory(TESTFN_UNICODE+ext, TESTFN_UNICODE+ext, False) # Our directory name that can't use a non-unicode name. - if TESTFN_UNENCODEABLE is not None: - self._do_directory(TESTFN_UNENCODEABLE+ext, - TESTFN_UNENCODEABLE+ext, + if TESTFN_UNENCODABLE is not None: + self._do_directory(TESTFN_UNENCODABLE+ext, + TESTFN_UNENCODABLE+ext, False) def test_main(): |