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

Method assert_erase

mypy/test/testtypes.py:330–331  ·  view source on GitHub ↗
(self, orig: Type, result: Type)

Source from the content-addressed store, hash-verified

328 self.assert_erase(self.fx.type_t, self.fx.type_any)
329
330 def assert_erase(self, orig: Type, result: Type) -> None:
331 assert_equal(str(erase_type(orig)), str(result))
332
333 # is_more_precise
334

Calls 3

assert_equalFunction · 0.90
erase_typeFunction · 0.90
strClass · 0.85

Tested by

no test coverage detected