Mark six as completed (#9221)

This commit is contained in:
Nikita Sobolev
2022-11-18 13:32:30 +03:00
committed by GitHub
parent c7431181b3
commit a21aa2fe26
3 changed files with 16 additions and 6 deletions

View File

@@ -20,5 +20,16 @@ six.viewvalues
# Should be `operator.itemgetter[int]`. But a bug in mypy prevents using TypeVar in itemgetter__call__
six.byte2int
# Utils
six.Module_six_moves_urllib
six.Module_six_moves_urllib_error
six.Module_six_moves_urllib_parse
six.Module_six_moves_urllib_request
six.Module_six_moves_urllib_response
six.Module_six_moves_urllib_robotparser
# Belongs to `django.utils.six`
six.iterlists
# Unclear problems
six.callable

View File

@@ -1 +1,4 @@
version = "1.16.*"
[tool.stubtest]
ignore_missing_stub = false

View File

@@ -58,9 +58,6 @@ def get_function_globals(fun: types.FunctionType) -> dict[str, Any]: ...
def iterkeys(d: Mapping[_K, Any]) -> _Iterator[_K]: ...
def itervalues(d: Mapping[Any, _V]) -> _Iterator[_V]: ...
def iteritems(d: Mapping[_K, _V]) -> _Iterator[tuple[_K, _V]]: ...
# def iterlists
def viewkeys(d: Mapping[_K, Any]) -> KeysView[_K]: ...
def viewvalues(d: Mapping[Any, _V]) -> ValuesView[_V]: ...
def viewitems(d: Mapping[_K, _V]) -> ItemsView[_K, _V]: ...
@@ -82,9 +79,8 @@ def assertCountEqual(self: unittest.TestCase, first: Iterable[_T], second: Itera
def assertRaisesRegex(self: unittest.TestCase, msg: str | None = ...) -> Any: ...
@overload
def assertRaisesRegex(self: unittest.TestCase, callable_obj: Callable[..., object], *args: Any, **kwargs: Any) -> Any: ...
def assertRegex(
self: unittest.TestCase, text: AnyStr, expected_regex: AnyStr | Pattern[AnyStr], msg: str | None = ...
) -> None: ...
def assertRegex(self: unittest.TestCase, text: AnyStr, expected_regex: AnyStr | Pattern[AnyStr], msg: Any = ...) -> None: ...
def assertNotRegex(self: unittest.TestCase, text: AnyStr, expected_regex: AnyStr | Pattern[AnyStr], msg: Any = ...) -> None: ...
exec_ = exec