[pypy-commit] pypy more-rposix: Restore the previous version to fix the test

amauryfa noreply at buildbot.pypy.org
Fri Dec 5 22:15:53 CET 2014


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: more-rposix
Changeset: r74845:34acd72615a6
Date: 2014-12-05 22:15 +0100
http://bitbucket.org/pypy/pypy/changeset/34acd72615a6/

Log:	Restore the previous version to fix the test

diff --git a/rpython/flowspace/test/test_objspace.py b/rpython/flowspace/test/test_objspace.py
--- a/rpython/flowspace/test/test_objspace.py
+++ b/rpython/flowspace/test/test_objspace.py
@@ -10,7 +10,6 @@
 from rpython.flowspace.flowcontext import FlowingError, FlowContext
 from rpython.conftest import option
 from rpython.tool.stdlib_opcode import host_bytecode_spec
-from rpython.rlib import rposix
 
 import os
 import operator
@@ -1263,9 +1262,9 @@
         self.show(x)
         ops = x.startblock.operations
         assert ops[0].opname == 'simple_call'
-        assert ops[0].args[0].value is rposix.unlink
+        assert ops[0].args[0].value is os.unlink
         assert ops[1].opname == 'simple_call'
-        assert ops[1].args[0].value is rposix.unlink
+        assert ops[1].args[0].value is os.unlink
 
     def test_rabspath(self):
         import os.path


More information about the pypy-commit mailing list