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

Method test_valid_bytes

Lib/test/test_crossinterp.py:1154–1157  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1152 ])
1153
1154 def test_valid_bytes(self):
1155 self.assert_roundtrip_not_equal([
1156 *(s.encode('utf8') for s in self.VALID_SCRIPTS),
1157 ], expecttype=types.CodeType)
1158
1159 def test_invalid_bytes(self):
1160 self.assert_not_shareable([

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.45

Tested by

no test coverage detected