test-data/unit/fixtures/alias.pyi
raw| 1 | # Builtins test fixture with a type alias 'bytes' |
| 2 | |
| 3 | from typing import Mapping, Iterable # needed for `ArgumentInferContext` |
| 4 | |
| 5 | class object: |
| 6 | def __init__(self) -> None: pass |
| 7 | class type: |
| 8 | def __init__(self, x) -> None: pass |
| 9 | |
| 10 | class int: pass |
| 11 | class str: pass |
| 12 | class function: pass |
| 13 | |
| 14 | bytes = str |
| 15 | |
| 16 | class dict: pass |