1 diff --git a/tests/test_inspect.py b/tests/test_inspect.py
2 index 98d6592..3a2a1f2 100644
3 --- a/tests/test_inspect.py
4 +++ b/tests/test_inspect.py
5 @@ -8,6 +8,7 @@ import unittest2 as unittest
7 import funcsigs as inspect
11 class TestSignatureObject(unittest.TestCase):
13 @@ -409,7 +410,7 @@ def test_signature_on_decorated(self):
17 - if sys.version_info[0] > 2:
18 + if sys.version_info[0] > 2 and platform.python_implementation() != "PyPy":
20 def test_signature_on_class(self):
22 @@ -493,41 +494,44 @@ def test_signature_on_class(self):
26 - def test_signature_on_callable_objects(self):
28 - def __call__(self, a):
30 + if platform.python_implementation() != "PyPy":
32 +def test_signature_on_callable_objects(self):
34 + def __call__(self, a):
37 - self.assertEqual(self.signature(Foo()),
38 - ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
40 + self.assertEqual(self.signature(Foo()),
41 + ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
46 - with self.assertRaisesRegex(TypeError, "is not a callable object"):
47 - inspect.signature(Spam())
50 + with self.assertRaisesRegex(TypeError, "is not a callable object"):
51 + inspect.signature(Spam())
53 - class Bar(Spam, Foo):
55 + class Bar(Spam, Foo):
58 - self.assertEqual(self.signature(Bar()),
59 - ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
61 + self.assertEqual(self.signature(Bar()),
62 + ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
65 - class ToFail(object):
67 - with self.assertRaisesRegex(ValueError, "not supported by signature"):
68 - inspect.signature(ToFail())
69 + class ToFail(object):
71 + with self.assertRaisesRegex(ValueError, "not supported by signature"):
72 + inspect.signature(ToFail())
74 - if sys.version_info[0] < 3:
76 + if sys.version_info[0] < 3:
79 - class Wrapped(object):
81 - Wrapped.__wrapped__ = lambda a: None
82 - self.assertEqual(self.signature(Wrapped),
83 - ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
85 + class Wrapped(object):
87 + Wrapped.__wrapped__ = lambda a: None
88 + self.assertEqual(self.signature(Wrapped),
89 + ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
93 def test_signature_on_lambdas(self):
94 self.assertEqual(self.signature((lambda a=10: a)),