Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90048:2abc31ad4db0
Date: 2017-02-11 15:41 +0100
http://bitbucket.org/pypy/pypy/changeset/2abc31ad4db0/
Log: skip these two tests
diff --git a/lib-python/3/test/test_itertools.py
b/lib-python/3/test/test_itertools.py
--- a/lib-python/3/test/test_itertools.py
+++ b/lib-python/3/test/test_itertools.py
@@ -184,6 +184,9 @@
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
self.pickletest(proto, chain('abc', 'def'), compare=list('abcdef'))
+ @support.impl_detail("XXX chain.__setstate__ does not do all checks"
+ " on PyPy, will just complain later (but could"
+ " be fixed if important)")
def test_chain_setstate(self):
self.assertRaises(TypeError, chain().__setstate__, ())
self.assertRaises(TypeError, chain().__setstate__, [])
@@ -644,6 +647,8 @@
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
self.pickletest(proto, cycle('abc'))
+ @support.impl_detail("XXX cycle.__reduce__ and __setstate__ differ"
+ " on PyPy (but could be fixed if important)")
def test_cycle_setstate(self):
self.assertRaises(TypeError, cycle('').__setstate__, ())
self.assertRaises(TypeError, cycle('').__setstate__, [])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit