[pypy-commit] pypy py3.5-noninherit: fix test
arigo
pypy.commits at gmail.com
Sat Aug 27 10:38:44 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5-noninherit
Changeset: r86602:89dd2d0333a8
Date: 2016-08-27 16:36 +0200
http://bitbucket.org/pypy/pypy/changeset/89dd2d0333a8/
Log: fix test
diff --git a/rpython/translator/sandbox/test/test_sandbox.py b/rpython/translator/sandbox/test/test_sandbox.py
--- a/rpython/translator/sandbox/test/test_sandbox.py
+++ b/rpython/translator/sandbox/test/test_sandbox.py
@@ -58,7 +58,7 @@
exe = compile(entry_point)
g, f = run_in_subprocess(exe)
expect(f, g, "ll_os.ll_os_open", ("/tmp/foobar", os.O_RDONLY, 0777), 77)
- expect(f, g, "ll_os.ll_os_dup", (77,), 78)
+ expect(f, g, "ll_os.ll_os_dup", (77, True), 78)
g.close()
tail = f.read()
f.close()
@@ -94,7 +94,7 @@
exe = compile(entry_point)
g, f = run_in_subprocess(exe)
- expect(f, g, "ll_os.ll_os_dup2", (34, 56), None)
+ expect(f, g, "ll_os.ll_os_dup2", (34, 56, True), None)
expect(f, g, "ll_os.ll_os_access", ("spam", 77), True)
g.close()
tail = f.read()
@@ -134,7 +134,7 @@
exe = compile(entry_point)
g, f = run_in_subprocess(exe)
expect(f, g, "ll_time.ll_time_time", (), 3.141592)
- expect(f, g, "ll_os.ll_os_dup", (3141,), 3)
+ expect(f, g, "ll_os.ll_os_dup", (3141, True), 3)
g.close()
tail = f.read()
f.close()
@@ -149,7 +149,7 @@
exe = compile(entry_point)
g, f = run_in_subprocess(exe)
expect(f, g, "ll_os.ll_os_getcwd", (), "/tmp/foo/bar")
- expect(f, g, "ll_os.ll_os_dup", (len("/tmp/foo/bar"),), 3)
+ expect(f, g, "ll_os.ll_os_dup", (len("/tmp/foo/bar"), True), 3)
g.close()
tail = f.read()
f.close()
More information about the pypy-commit
mailing list