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

Method setUp

mypy/test/testtypes.py:59–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57
58class TypesSuite(Suite):
59 def setUp(self) -> None:
60 self.x = UnboundType("X") # Helpers
61 self.y = UnboundType("Y")
62 self.fx = TypeFixture()
63 self.function = self.fx.function
64
65 def test_any(self) -> None:
66 assert_equal(str(AnyType(TypeOfAny.special_form)), "Any")

Callers

nothing calls this directly

Calls 2

UnboundTypeClass · 0.90
TypeFixtureClass · 0.90

Tested by

no test coverage detected