[Python-checkins] cpython (merge 3.2 -> default): Issue #11919: try to fix test_imp failure on some buildbots.
antoine.pitrou
python-checkins at python.org
Mon Apr 25 21:46:08 CEST 2011
http://hg.python.org/cpython/rev/0c70c24750fd
changeset: 69557:0c70c24750fd
parent: 69555:ef1ad39e3c40
parent: 69556:2f2c7eb27437
user: Antoine Pitrou <solipsis at pitrou.net>
date: Mon Apr 25 21:46:04 2011 +0200
summary:
Issue #11919: try to fix test_imp failure on some buildbots.
files:
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
--- 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):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list