Author: Brian Kearns <[email protected]>
Branch:
Changeset: r61042:77dc5a5f2dfe
Date: 2013-02-10 08:38 -0500
http://bitbucket.org/pypy/pypy/changeset/77dc5a5f2dfe/
Log: these asserts should work
diff --git a/pypy/interpreter/test2/test_app_main.py
b/pypy/interpreter/test2/test_app_main.py
--- a/pypy/interpreter/test2/test_app_main.py
+++ b/pypy/interpreter/test2/test_app_main.py
@@ -906,10 +906,12 @@
import app_main
app_main.setup_bootstrap_path('/tmp/pypy-c') # stdlib not found
assert sys.executable == ''
- assert sys.path[:len(old_sys_path)] == old_sys_path
+ assert sys.path == old_sys_path + [self.goal_dir]
app_main.setup_bootstrap_path(self.fake_exe)
assert sys.executable == self.fake_exe
+ assert self.goal_dir not in sys.path
+
newpath = sys.path[:]
if newpath[0].endswith('__extensions__'):
newpath = newpath[1:]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit