mirror of https://github.com/python/cpython
Issue #9319: Fix the unit test
This commit is contained in:
parent
c68b6aaec8
commit
7fdd0fe48f
|
@ -171,7 +171,8 @@ class ImportTests(unittest.TestCase):
|
|||
support.rmtree(test_package_name)
|
||||
|
||||
def test_issue9319(self):
|
||||
imp.find_module("test/badsyntax_pep3120")
|
||||
self.assertRaises(SyntaxError,
|
||||
imp.find_module, "test/badsyntax_pep3120")
|
||||
|
||||
|
||||
class ReloadTests(unittest.TestCase):
|
||||
|
|
Loading…
Reference in New Issue