[pypy-commit] pypy remove_array_with_char_test: removed test_array_of_chars_equality as it's not supported in python 3

ykiprov pypy.commits at gmail.com
Sat Jul 13 10:33:15 EDT 2019


Author: Yasen Kiprov <yasen.kiprov at gmail.com>
Branch: remove_array_with_char_test
Changeset: r96976:11a99a383873
Date: 2019-07-13 08:12 -0400
http://bitbucket.org/pypy/pypy/changeset/11a99a383873/

Log:	removed test_array_of_chars_equality as it's not supported in python
	3

diff --git a/pypy/module/array/test/test_array.py b/pypy/module/array/test/test_array.py
--- a/pypy/module/array/test/test_array.py
+++ b/pypy/module/array/test/test_array.py
@@ -892,13 +892,6 @@
         assert repr(mya('i', [1, 2, 3])) == "array('i', [1, 2, 3])"
         assert repr(mya('i', (1, 2, 3))) == "array('i', [1, 2, 3])"
 
-    def test_array_of_chars_equality(self):
-        input_bytes = '\x01\x63a\x00!'
-        a = self.array('c', input_bytes)
-        b = self.array('c', input_bytes)
-        b.byteswap()
-        assert a == b
-
     def test_unicode_outofrange(self):
         input_unicode = u'\x01\u263a\x00\ufeff'
         a = self.array('u', input_unicode)


More information about the pypy-commit mailing list