mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE
This commit is contained in:
parent
042b128f58
commit
09c449c7de
3 changed files with 16 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue