Skip to content

Commit

Permalink
Remove references to unicode under test-data/unit (#14515)
Browse files Browse the repository at this point in the history
Fixes #14512.
  • Loading branch information
LakshayBisht authored Jan 24, 2023
1 parent 9ca3035 commit eee3a2a
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion test-data/unit/fixtures/attr.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ class complex:
def __init__(self, real: str = ...) -> None: ...

class str: pass
class unicode: pass
class ellipsis: pass
class tuple: pass
1 change: 0 additions & 1 deletion test-data/unit/fixtures/bool.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class int: pass
class bool(int): pass
class float: pass
class str: pass
class unicode: pass
class ellipsis: pass
class list(Generic[T]): pass
class property: pass
1 change: 0 additions & 1 deletion test-data/unit/fixtures/dict.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class int: # for convenience
imag: int

class str: pass # for keyword argument key type
class unicode: pass # needed for py2 docstrings
class bytes: pass

class list(Sequence[T]): # needed by some test cases
Expand Down
1 change: 0 additions & 1 deletion test-data/unit/fixtures/exception.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class tuple(Generic[T]):
class function: pass
class int: pass
class str: pass
class unicode: pass
class bool: pass
class ellipsis: pass

Expand Down
2 changes: 0 additions & 2 deletions test-data/unit/fixtures/ops.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class str:
def startswith(self, x: 'str') -> bool: pass
def strip(self) -> 'str': pass

class unicode: pass

class int:
def __add__(self, x: 'int') -> 'int': pass
def __radd__(self, x: 'int') -> 'int': pass
Expand Down
1 change: 0 additions & 1 deletion test-data/unit/fixtures/staticmethod.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ class int:
def from_bytes(bytes: bytes, byteorder: str) -> int: pass

class str: pass
class unicode: pass
class bytes: pass
class ellipsis: pass
1 change: 0 additions & 1 deletion test-data/unit/fixtures/tuple.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class bool(int): pass
class str: pass # For convenience
class bytes: pass
class bytearray: pass
class unicode: pass

class list(Sequence[T], Generic[T]):
@overload
Expand Down
1 change: 0 additions & 1 deletion test-data/unit/fixtures/type.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ class function: pass
class bool: pass
class int: pass
class str: pass
class unicode: pass
class ellipsis: pass
1 change: 0 additions & 1 deletion test-data/unit/lib-stub/__builtin__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class int: pass
class float: pass

class str: pass
class unicode: pass

class tuple(Generic[_T]): pass
class function: pass
Expand Down

0 comments on commit eee3a2a

Please sign in to comment.