MCPcopy
hub / github.com/python/mypy / test_any

Method test_any

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

Source from the content-addressed store, hash-verified

63 self.function = self.fx.function
64
65 def test_any(self) -> None:
66 assert_equal(str(AnyType(TypeOfAny.special_form)), "Any")
67
68 def test_simple_unbound_type(self) -> None:
69 u = UnboundType("Foo")

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
AnyTypeClass · 0.90
strClass · 0.85

Tested by

no test coverage detected