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

Method assertIsNotInterned

Lib/test/test_code.py:1193–1195  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

1191 self.fail('String %r is not interned' % (s,))
1192
1193 def assertIsNotInterned(self, s):
1194 if isinterned(s):
1195 self.fail('String %r is interned' % (s,))
1196
1197 @cpython_only
1198 def test_interned_string(self):

Callers 1

Calls 2

isinternedFunction · 0.85
failMethod · 0.45

Tested by

no test coverage detected