diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 19:39:49 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 19:39:49 (GMT) |
commit | 11846905d33d696f14a4ae26383104feacdc0f17 (patch) | |
tree | 3205fa3a1b9a77c211c2080e3476aec9423c1212 /Lib/test/test_imp.py | |
parent | 72562d065e51a62023f585037e6d5eb4ccb71784 (diff) | |
download | cpython-11846905d33d696f14a4ae26383104feacdc0f17.zip cpython-11846905d33d696f14a4ae26383104feacdc0f17.tar.gz cpython-11846905d33d696f14a4ae26383104feacdc0f17.tar.bz2 |
Issue #11919: try to fix test_imp failure on some buildbots.
Diffstat (limited to 'Lib/test/test_imp.py')
-rw-r--r-- | Lib/test/test_imp.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ 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): |