(
self, orig: Type, map_items: list[tuple[TypeVarId, Type]], result: Type
)
| 265 | # multiple arguments |
| 266 | |
| 267 | def assert_expand( |
| 268 | self, orig: Type, map_items: list[tuple[TypeVarId, Type]], result: Type |
| 269 | ) -> None: |
| 270 | lower_bounds = {} |
| 271 | |
| 272 | for id, t in map_items: |
| 273 | lower_bounds[id] = t |
| 274 | |
| 275 | exp = mypy.expandtype.expand_type(orig, lower_bounds) |
| 276 | # Remove erased tags (asterisks). |
| 277 | assert_equal(str(exp).replace("*", ""), str(result)) |
| 278 | |
| 279 | # erase_type |
| 280 |
no test coverage detected