diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 19:46:04 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 19:46:04 (GMT) |
commit | d4a2ff40d581011213be5831a2bfa3ce3f42cb7b (patch) | |
tree | a1c8d840c90fa468333ecf6c4396ef7291c8d20f /Lib/test/test_imp.py | |
parent | eec60603a89eabf8945a0928b5b105f6e923d1ea (diff) | |
parent | 11846905d33d696f14a4ae26383104feacdc0f17 (diff) | |
download | cpython-d4a2ff40d581011213be5831a2bfa3ce3f42cb7b.zip cpython-d4a2ff40d581011213be5831a2bfa3ce3f42cb7b.tar.gz cpython-d4a2ff40d581011213be5831a2bfa3ce3f42cb7b.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 f0dc7c2..83fcf22 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -177,8 +177,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): |