Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r73516:73c7d67b9c5f Date: 2014-09-12 15:18 -0700 http://bitbucket.org/pypy/pypy/changeset/73c7d67b9c5f/
Log: workaround lack of __future__.__file__, as __future__'s pre-imported during translation diff --git a/lib-python/3/test/test_modulefinder.py b/lib-python/3/test/test_modulefinder.py --- a/lib-python/3/test/test_modulefinder.py +++ b/lib-python/3/test/test_modulefinder.py @@ -9,7 +9,7 @@ import modulefinder TEST_DIR = tempfile.mkdtemp() -TEST_PATH = [TEST_DIR, os.path.dirname(__future__.__file__)] +TEST_PATH = [TEST_DIR, os.path.dirname(tempfile.__file__)] # Each test description is a list of 5 items: # _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit