Author: Carl Friedrich Bolz <[email protected]>
Branch: better-error-missing-self
Changeset: r87562:dee3f0dd4c1e
Date: 2016-10-04 08:55 +0200
http://bitbucket.org/pypy/pypy/changeset/dee3f0dd4c1e/

Log:    skip these as appdirect tests

diff --git a/pypy/interpreter/test/test_argument.py 
b/pypy/interpreter/test/test_argument.py
--- a/pypy/interpreter/test/test_argument.py
+++ b/pypy/interpreter/test/test_argument.py
@@ -729,6 +729,7 @@
         exc = raises(TypeError, (lambda a, b, **kw: 0), a=1)
         assert exc.value.message == "<lambda>() takes exactly 2 non-keyword 
arguments (0 given)"
 
+    @py.test.mark.skipif("config.option.runappdirect")
     def test_error_message_method(self):
         class A(object):
             def f0():
@@ -745,12 +746,14 @@
         # does not contain the warning about missing self
         assert exc.value.message == "f0() takes no arguments (1 given)"
 
+    @py.test.mark.skipif("config.option.runappdirect")
     def test_error_message_module_function(self):
         import operator # use repeat because it's defined at applevel
         exc = raises(TypeError, lambda : operator.repeat(1, 2, 3))
         # does not contain the warning about missing self
         assert exc.value.message == "repeat() takes exactly 2 arguments (3 
given)"
 
+    @py.test.mark.skipif("config.option.runappdirect")
     def test_error_message_bound_method(self):
         class A(object):
             def f0():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to