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

Method assertIsNotInterned

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

isinternedFunction · 0.85
failMethod · 0.45

Tested by

no test coverage detected