Skip to content

Commit

Permalink
Remove classmethod and staticmethod from fixtures (complete #bb2461)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkemperman committed Jul 5, 2023
1 parent bc328d7 commit 5cb1b77
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion test-data/unit/fixtures/__init_subclass__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ class bool: pass
class str: pass
class function: pass
class dict: pass
class classmethod: pass
1 change: 0 additions & 1 deletion test-data/unit/fixtures/__new__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ class bool: pass
class str: pass
class function: pass
class dict: pass
class staticmethod: pass
2 changes: 0 additions & 2 deletions test-data/unit/fixtures/dict.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ class bool(int): pass

class ellipsis:
__class__: object
class classmethod: pass
class staticmethod: pass
def isinstance(x: object, t: Union[type, Tuple[type, ...]]) -> bool: pass
class BaseException: pass

Expand Down
1 change: 0 additions & 1 deletion test-data/unit/fixtures/object_with_init_subclass.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class bytearray: pass
class tuple(Generic[T]): pass
class function: pass
class ellipsis: pass
class classmethod: pass

# copy-pasted from list.pyi
class list(Sequence[T]):
Expand Down
2 changes: 0 additions & 2 deletions test-data/unit/fixtures/primitives.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ class frozenset(Iterable[T]):
def __iter__(self) -> Iterator[T]: pass
class function: pass
class ellipsis: pass
class classmethod: pass
class staticmethod: pass

class range(Sequence[int]):
def __init__(self, __x: int, __y: int = ..., __z: int = ...) -> None: pass
Expand Down
1 change: 0 additions & 1 deletion test-data/unit/fixtures/tuple.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class function:
__name__: str
class ellipsis: pass
class classmethod: pass
class staticmethod: pass

# We need int and slice for indexing tuples.
class int:
Expand Down

0 comments on commit 5cb1b77

Please sign in to comment.