MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_rsplit_unicodewhitespace

Method test_rsplit_unicodewhitespace

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

Source from the content-addressed store, hash-verified

817 self.assertEqual(b.split(), [b'\x1c\x1d\x1e\x1f'])
818
819 def test_rsplit_unicodewhitespace(self):
820 b = self.type2test(b"\x09\x0A\x0B\x0C\x0D\x1C\x1D\x1E\x1F")
821 self.assertEqual(b.rsplit(), [b'\x1c\x1d\x1e\x1f'])
822
823 def test_partition(self):
824 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