MCPcopy Index your code
hub / github.com/python/mypy / setUp

Method setUp

mypyc/test/test_tuplename.py:18–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16
17class TestTupleNames(unittest.TestCase):
18 def setUp(self) -> None:
19 self.inst_a = RInstance(ClassIR("A", "__main__"))
20 self.inst_b = RInstance(ClassIR("B", "__main__"))
21
22 def test_names(self) -> None:
23 assert RTuple([int_rprimitive, int_rprimitive]).unique_id == "T2II"

Callers

nothing calls this directly

Calls 2

RInstanceClass · 0.90
ClassIRClass · 0.90

Tested by

no test coverage detected