]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix pypy failures
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Mar 2014 21:18:09 +0000 (16:18 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Mar 2014 21:18:09 +0000 (16:18 -0500)
test/base/test_utils.py

index 34b707e6cfccb290f151556f01543d3402caf120..19b3aa35785fb38b0e70c6e44de2e9ccee8923e0 100644 (file)
@@ -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',