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

Method assertIsInterned

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

Source from the content-addressed store, hash-verified

1190 self.fail('Should never be reached')
1191
1192 def assertIsInterned(self, s):
1193 if not isinterned(s):
1194 self.fail('String %r is not interned' % (s,))
1195
1196 def assertIsNotInterned(self, s):
1197 if isinterned(s):

Calls 2

isinternedFunction · 0.85
failMethod · 0.45

Tested by

no test coverage detected