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

Method test_primepat

Lib/test/test_bufio.py:56–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.try_one(teststring[:-1])
55
56 def test_primepat(self):
57 # A pattern with prime length, to avoid simple relationships with
58 # stdio buffer sizes.
59 self.drive_one(b"1234567890\00\01\02\03\04\05\06")
60
61 def test_nullpat(self):
62 self.drive_one(b'\0' * 1000)

Callers

nothing calls this directly

Calls 1

drive_oneMethod · 0.95

Tested by

no test coverage detected