MCPcopy Create free account
hub / github.com/python/mypy / setUp

Method setUp

mypy/test/testsubtypes.py:11–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class SubtypingSuite(Suite):
11 def setUp(self) -> None:
12 self.fx = TypeFixture(INVARIANT)
13 self.fx_contra = TypeFixture(CONTRAVARIANT)
14 self.fx_co = TypeFixture(COVARIANT)
15
16 def test_trivial_cases(self) -> None:
17 for simple in self.fx_co.a, self.fx_co.o, self.fx_co.b:

Callers

nothing calls this directly

Calls 1

TypeFixtureClass · 0.90

Tested by

no test coverage detected