Commit 7fdd0fe4 authored by Victor Stinner's avatar Victor Stinner

Issue #9319: Fix the unit test

parent c68b6aae
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment