diff options
author | Jesus Cea <jcea@jcea.es> | 2011-04-25 01:46:43 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2011-04-25 01:46:43 (GMT) |
commit | 88f7841be7c59eea1eb5960b68190e6ca5486daa (patch) | |
tree | 64909c198ea97285c7bebf72b4448dcf4853dab8 /Lib/test/test_imp.py | |
parent | 762f8d1bf2dcbab7ddc0231efc297caef1818c64 (diff) | |
parent | 5db3e0167d63b954af2c996c0eba494d309fb539 (diff) | |
download | cpython-88f7841be7c59eea1eb5960b68190e6ca5486daa.zip cpython-88f7841be7c59eea1eb5960b68190e6ca5486daa.tar.gz cpython-88f7841be7c59eea1eb5960b68190e6ca5486daa.tar.bz2 |
Correctly merging #9319 into 3.3?
Diffstat (limited to 'Lib/test/test_imp.py')
-rw-r--r-- | Lib/test/test_imp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index 88d2a3e..f0dc7c2 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -176,6 +176,10 @@ class ImportTests(unittest.TestCase): support.unlink(init_file_name + ext) support.rmtree(test_package_name) + def test_issue9319(self): + self.assertRaises(SyntaxError, + imp.find_module, "test/badsyntax_pep3120") + class ReloadTests(unittest.TestCase): |