summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-03-03 16:18:09 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-03-03 16:18:09 -0500
commit66470d8656a7bc60c6f2888670809ea67c1beab5 (patch)
treeeae877c564f17bda90c94655f310377ec1b4eaf7
parentea05a2321819405020ead5184770d39a0b7948da (diff)
downloadsqlalchemy-66470d8656a7bc60c6f2888670809ea67c1beab5.tar.gz
fix pypy failures
-rw-r--r--test/base/test_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/base/test_utils.py b/test/base/test_utils.py
index 34b707e6c..19b3aa357 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',