Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r80773:db2bd09dae24
Date: 2015-11-19 13:36 +0100
http://bitbucket.org/pypy/pypy/changeset/db2bd09dae24/
Log: Remove this test because specialized_zip_2_lists() is not
implemented on py3k.
diff --git a/pypy/objspace/std/test/test_tupleobject.py
b/pypy/objspace/std/test/test_tupleobject.py
--- a/pypy/objspace/std/test/test_tupleobject.py
+++ b/pypy/objspace/std/test/test_tupleobject.py
@@ -409,22 +409,3 @@
assert (() != object()) is True
assert ((1,) != object()) is True
assert ((1, 2) != object()) is True
-
- def test_zip_two_lists(self):
- try:
- from __pypy__ import specialized_zip_2_lists
- except ImportError:
- specialized_zip_2_lists = zip
- else:
- raises(TypeError, specialized_zip_2_lists, [], ())
- raises(TypeError, specialized_zip_2_lists, (), [])
- assert specialized_zip_2_lists([], []) == [
- ]
- assert specialized_zip_2_lists([2, 3], []) == [
- ]
- assert specialized_zip_2_lists([2, 3], [4, 5, 6]) == [
- (2, 4), (3, 5)]
- assert specialized_zip_2_lists([4.1, 3.6, 7.2], [2.3, 4.8]) == [
- (4.1, 2.3), (3.6, 4.8)]
- assert specialized_zip_2_lists(["foo", "bar"], [6, 2]) == [
- ("foo", 6), ("bar", 2)]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit