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

Method test_references_super

Lib/test/test_listcomps.py:162–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160 self.assertIs(C().method(), C)
161
162 def test_references_super(self):
163 code = """
164 res = [super for x in [1]]
165 """
166 self._check_in_scopes(code, outputs={"res": [super]})
167
168 def test_references___class__(self):
169 code = """

Callers

nothing calls this directly

Calls 1

_check_in_scopesMethod · 0.95

Tested by

no test coverage detected