This seems to be changing what is tested -- are you saying that filenames with an included directory name are not intended to be supported?
On 4/25/11, antoine.pitrou <python-check...@python.org> wrote: > http://hg.python.org/cpython/rev/2f2c7eb27437 > changeset: 69556:2f2c7eb27437 > branch: 3.2 > parent: 69554:77cf9e4b144b > user: Antoine Pitrou <solip...@pitrou.net> > date: Mon Apr 25 21:39:49 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 > @@ -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): > > -- > Repository URL: http://hg.python.org/cpython > _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com