MCPcopy Index your code
hub / github.com/python/cpython / test_rsplit_unicodewhitespace

Method test_rsplit_unicodewhitespace

Lib/test/test_bytes.py:906–908  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

904 self.assertEqual(b.split(), [b'\x1c\x1d\x1e\x1f'])
905
906 def test_rsplit_unicodewhitespace(self):
907 b = self.type2test(b"\x09\x0A\x0B\x0C\x0D\x1C\x1D\x1E\x1F")
908 self.assertEqual(b.rsplit(), [b'\x1c\x1d\x1e\x1f'])
909
910 def test_partition(self):
911 b = self.type2test(b'mississippi')

Callers

nothing calls this directly

Calls 3

type2testMethod · 0.80
assertEqualMethod · 0.45
rsplitMethod · 0.45

Tested by

no test coverage detected