diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-03-16 13:04:07 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-03-16 13:04:07 -0400 |
| commit | b1b8e7defd7ee0d3d6d32d16a412a75b1c93ed0d (patch) | |
| tree | a502fa58c5252000d5ff52f4f7f0780d9389cbc5 /test/base | |
| parent | ff1868b3f045435e3829eefa6d6911f492569dca (diff) | |
| download | sqlalchemy-b1b8e7defd7ee0d3d6d32d16a412a75b1c93ed0d.tar.gz | |
- alex gaynor's latest batch of pypy test fixes
Diffstat (limited to 'test/base')
| -rw-r--r-- | test/base/test_utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/base/test_utils.py b/test/base/test_utils.py index e44a1862f..48fc075ee 100644 --- a/test/base/test_utils.py +++ b/test/base/test_utils.py @@ -2,7 +2,7 @@ from test.lib.testing import assert_raises, assert_raises_message import copy, threading from sqlalchemy import util, sql, exc from test.lib import TestBase -from test.lib.testing import eq_, is_, ne_ +from test.lib.testing import eq_, is_, ne_, fails_if from test.lib.util import gc_collect, picklers from sqlalchemy.util import classproperty @@ -860,6 +860,7 @@ class TestFormatArgspec(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', @@ -875,6 +876,7 @@ class TestFormatArgspec(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', |
