Commit d4efeed2 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #11919: try to fix test_imp failure on some buildbots.

parent 8dbc7918
......@@ -171,8 +171,9 @@ class ImportTests(unittest.TestCase):
support.rmtree(test_package_name)
def test_issue9319(self):
path = os.path.dirname(__file__)
self.assertRaises(SyntaxError,
imp.find_module, "test/badsyntax_pep3120")
imp.find_module, "badsyntax_pep3120", [path])
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