From: Mike Bayer Date: Mon, 3 Mar 2014 21:18:09 +0000 (-0500) Subject: fix pypy failures X-Git-Tag: rel_0_9_4~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66470d8656a7bc60c6f2888670809ea67c1beab5;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix pypy failures --- diff --git a/test/base/test_utils.py b/test/base/test_utils.py index 34b707e6cf..19b3aa3578 100644 --- a/test/base/test_utils.py +++ b/test/base/test_utils.py @@ -1393,6 +1393,7 @@ class ArgInspectionTest(fixtures.TestBase): (['self', 'x', 'y'], None, 'kw', None) ) + @fails_if(lambda: util.pypy, "pypy inspects datetime.now correctly") def test_callable_argspec_py_builtin(self): import datetime assert_raises( @@ -1599,7 +1600,6 @@ class TestFormatArgspec(fixtures.TestBase): 'apply_kw': 'a=a, b=b', 'apply_pos': 'a, b'}, grouped=False) - @fails_if(lambda: util.pypy, "object.__init__ is introspectable") def test_init_grouped(self): object_spec = { 'args': '(self)', 'self_arg': 'self', @@ -1615,7 +1615,6 @@ class TestFormatArgspec(fixtures.TestBase): self._test_init(None, object_spec, wrapper_spec, custom_spec) self._test_init(True, object_spec, wrapper_spec, custom_spec) - @fails_if(lambda: util.pypy, "object.__init__ can be introspected") def test_init_bare(self): object_spec = { 'args': 'self', 'self_arg': 'self',