summaryrefslogtreecommitdiff
path: root/mock/tests/testhelpers.py
diff options
context:
space:
mode:
authorChris Withers <chris@withers.org>2019-04-30 08:36:13 +0100
committerChris Withers <chris@withers.org>2019-04-30 08:39:55 +0100
commit5e72ebe01cd0558c48c170efc577c3dfcc85fae9 (patch)
tree9ae4760734fb020208cfbb97f54f2091c558856b /mock/tests/testhelpers.py
parent5d0f584b048211fa1cc51fdaaf332115b425e4c2 (diff)
downloadmock-5e72ebe01cd0558c48c170efc577c3dfcc85fae9.tar.gz
Deferring fixing this into https://github.com/testing-cabal/mock/issues/452
Diffstat (limited to 'mock/tests/testhelpers.py')
-rw-r--r--mock/tests/testhelpers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mock/tests/testhelpers.py b/mock/tests/testhelpers.py
index e44e4ee..df5c577 100644
--- a/mock/tests/testhelpers.py
+++ b/mock/tests/testhelpers.py
@@ -977,6 +977,8 @@ class SpecSignatureTest(unittest.TestCase):
check_data_descriptor(foo.desc)
+ @unittest.skipIf('PyPy' in sys.version and sys.version_info > (3, 0),
+ "See https://github.com/testing-cabal/mock/issues/452")
def test_autospec_on_bound_builtin_function(self):
meth = six.create_bound_method(time.ctime, time.time())
self.assertIsInstance(meth(), str)