(actual, expected, typed=True)
| 959 | |
| 960 | def test_union_parameter_substitution(self): |
| 961 | def eq(actual, expected, typed=True): |
| 962 | self.assertEqual(actual, expected) |
| 963 | if typed: |
| 964 | self.assertIs(type(actual), type(expected)) |
| 965 | |
| 966 | T = typing.TypeVar('T') |
| 967 | S = typing.TypeVar('S') |
no test coverage detected