Author: mattip <matti.pi...@gmail.com> Branch: Changeset: r79060:6641c2a9442b Date: 2015-08-19 17:55 +0300 http://bitbucket.org/pypy/pypy/changeset/6641c2a9442b/
Log: fix test_interpreted since subprocess.check_call adds dirname(__file__) not pwd to sys.path diff --git a/rpython/rlib/rvmprof/test/test_ztranslation.py b/rpython/rlib/rvmprof/test/test_ztranslation.py --- a/rpython/rlib/rvmprof/test/test_ztranslation.py +++ b/rpython/rlib/rvmprof/test/test_ztranslation.py @@ -1,4 +1,6 @@ -import time, os, sys, py +import time, os, sys +sys.path += ['.'] # for subprocess in test_interpreted +import py from rpython.tool.udir import udir from rpython.rlib import rvmprof from rpython.translator.c.test.test_genc import compile _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit