commit | 11846905d33d696f14a4ae26383104feacdc0f17 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Apr 25 21:39:49 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Apr 25 21:39:49 2011 +0200 |
tree | 3205fa3a1b9a77c211c2080e3476aec9423c1212 | |
parent | 72562d065e51a62023f585037e6d5eb4ccb71784 [diff] [blame] |
Issue #11919: try to fix test_imp failure on some buildbots.
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index e0f022b..551ad1b 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py
@@ -171,8 +171,9 @@ 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):