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

Method assert_meet

mypy/test/testtypes.py:1374–1376  ·  view source on GitHub ↗
(self, s: Type, t: Type, meet: Type)

Source from the content-addressed store, hash-verified

1372 )
1373
1374 def assert_meet(self, s: Type, t: Type, meet: Type) -> None:
1375 self.assert_simple_meet(s, t, meet)
1376 self.assert_simple_meet(t, s, meet)
1377
1378 def assert_simple_meet(self, s: Type, t: Type, meet: Type) -> None:
1379 result = meet_types(s, t)

Callers 15

test_trivial_casesMethod · 0.95
test_class_subtypingMethod · 0.95
test_tuplesMethod · 0.95
test_function_typesMethod · 0.95
test_type_varsMethod · 0.95
test_noneMethod · 0.95
test_unbound_typeMethod · 0.95
test_dynamic_typeMethod · 0.95
test_simple_genericsMethod · 0.95

Calls 1

assert_simple_meetMethod · 0.95

Tested by

no test coverage detected