commit | d4a2ff40d581011213be5831a2bfa3ce3f42cb7b | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Apr 25 21:46:04 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Apr 25 21:46:04 2011 +0200 |
tree | a1c8d840c90fa468333ecf6c4396ef7291c8d20f | |
parent | eec60603a89eabf8945a0928b5b105f6e923d1ea [diff] | |
parent | 11846905d33d696f14a4ae26383104feacdc0f17 [diff] |
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 f0dc7c2..83fcf22 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py
@@ -177,8 +177,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):