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

Method test_null_byte

Lib/test/test_pyrepl/test_pyrepl.py:2183–2186  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2181 self.assertIn("in <module>", output)
2182
2183 def test_null_byte(self):
2184 output, exit_code = self.run_repl("\x00\nexit()\n")
2185 self.assertEqual(exit_code, 0)
2186 self.assertNotIn("TypeError", output)
2187
2188 @force_not_colorized
2189 def test_non_string_suggestion_candidates(self):

Callers

nothing calls this directly

Calls 3

assertNotInMethod · 0.80
run_replMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected