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

Method assert_join

mypy/test/testtypes.py:1101–1103  ·  view source on GitHub ↗
(self, s: Type, t: Type, join: Type)

Source from the content-addressed store, hash-verified

1099 # TODO: Function types + varargs and default args.
1100
1101 def assert_join(self, s: Type, t: Type, join: Type) -> None:
1102 self.assert_simple_join(s, t, join)
1103 self.assert_simple_join(t, s, join)
1104
1105 def assert_simple_join(self, s: Type, t: Type, join: Type) -> None:
1106 result = join_types(s, t)

Callers 15

test_trivial_casesMethod · 0.95
test_class_subtypingMethod · 0.95
test_tuplesMethod · 0.95
test_var_tuplesMethod · 0.95
test_function_typesMethod · 0.95
test_type_varsMethod · 0.95
test_noneMethod · 0.95
test_unbound_typeMethod · 0.95
test_any_typeMethod · 0.95
test_simple_genericsMethod · 0.95

Calls 1

assert_simple_joinMethod · 0.95

Tested by

no test coverage detected