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

Method test_valid_str

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

Source from the content-addressed store, hash-verified

1142 ]
1143
1144 def test_valid_str(self):
1145 self.assert_roundtrip_not_equal([
1146 *self.VALID_SCRIPTS,
1147 ], expecttype=types.CodeType)
1148
1149 def test_invalid_str(self):
1150 self.assert_not_shareable([

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected