Author: Alexis Daboville <[email protected]>
Branch: py3k
Changeset: r53455:656f7c0a9ba9
Date: 2012-03-13 16:56 +0000
http://bitbucket.org/pypy/pypy/changeset/656f7c0a9ba9/

Log:    Removed apply (doesn't exist anymore in py3k).

        Fix:
        * http://buildbot.pypy.org/summary/longrepr?testname=TestInterpreter.%
        28%29.test_call_star_starstar&builder=own-
        linux-x86-32&build=2061&mod=interpreter.test.test_interpreter

diff --git a/pypy/interpreter/test/test_interpreter.py 
b/pypy/interpreter/test/test_interpreter.py
--- a/pypy/interpreter/test/test_interpreter.py
+++ b/pypy/interpreter/test/test_interpreter.py
@@ -183,14 +183,10 @@
                 r = [
                     f(n, *[]),
                     f(n),
-                    apply(f, (n,)),
-                    apply(f, [n]),
                     f(*(n,)),
                     f(*[n]),
                     f(n=n),
                     f(**{'n': n}),
-                    apply(f, (n,), {}),
-                    apply(f, [n], {}),
                     f(*(n,), **{}),
                     f(*[n], **{}),
                     f(n, **{}),
@@ -203,7 +199,7 @@
                     ]
                 return r
             '''
-        assert self.codetest(code, 'f38', [117]) == [234]*19
+        assert self.codetest(code, 'f38', [117]) == [234]*15
 
     def test_star_arg(self):
         code = ''' 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to