(self)
| 1224 | @cpython_only |
| 1225 | @unittest.skipIf(Py_GIL_DISABLED, "free-threaded build interns all string constants") |
| 1226 | def test_interned_string_with_null(self): |
| 1227 | co = compile(r'res = "str\0value!"', '?', 'exec') |
| 1228 | v = self.find_const(co.co_consts, 'str\0value!') |
| 1229 | self.assertIsNotInterned(v) |
| 1230 | |
| 1231 | @cpython_only |
| 1232 | @unittest.skipUnless(Py_GIL_DISABLED, "does not intern all constants") |
nothing calls this directly
no test coverage detected