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