[pypy-commit] pypy refactor-str-types: Add failing test.

Manuel Jacob noreply at buildbot.pypy.org
Wed Jan 15 17:39:48 CET 2014


Author: Manuel Jacob
Branch: refactor-str-types
Changeset: r68685:5625a1371090
Date: 2014-01-15 17:39 +0100
http://bitbucket.org/pypy/pypy/changeset/5625a1371090/

Log:	Add failing test.

diff --git a/pypy/objspace/std/test/test_bytearrayobject.py b/pypy/objspace/std/test/test_bytearrayobject.py
--- a/pypy/objspace/std/test/test_bytearrayobject.py
+++ b/pypy/objspace/std/test/test_bytearrayobject.py
@@ -466,3 +466,7 @@
     def test_partition_return_copy(self):
         b = bytearray(b'foo')
         assert b.partition(b'x')[0] is not b
+
+    def test_split_whitespace(self):
+        b = bytearray(b'\x09\x0A\x0B\x0C\x0D\x1C\x1D\x1E\x1F')
+        assert b.split() == [b'\x1c\x1d\x1e\x1f']


More information about the pypy-commit mailing list