Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE

This commit is contained in:
Victor Stinner 2010-08-13 22:23:24 +00:00
parent 042b128f58
commit 09c449c7de
3 changed files with 16 additions and 16 deletions

View file

@ -307,10 +307,10 @@ class PEP3147Tests(unittest.TestCase):
class NullImporterTests(unittest.TestCase):
@unittest.skipIf(support.TESTFN_UNENCODEABLE is None,
@unittest.skipIf(support.TESTFN_UNENCODABLE is None,
"Need an undecodeable filename")
def test_unencodeable(self):
name = support.TESTFN_UNENCODEABLE
name = support.TESTFN_UNENCODABLE
os.mkdir(name)
try:
self.assertRaises(ImportError, imp.NullImporter, name)