Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
max-muoto committed Sep 7, 2024
1 parent a24c871 commit 2b3e938
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions stdlib/@tests/stubtest_allowlists/py313.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ ast.ImportFrom.level # None on the class, but never None on instances
builtins.property.__set_name__ # Doesn't actually exist
collections\.UserList\.index # ignoring pos-or-keyword parameter
dataclasses.KW_ONLY # white lies around defaults
doctest.TestResults.__match_args__ # Stubtest doesn't pick up override
doctest.TestResults._fields # Stubtest doesn't pick up override
enum.auto.__init__ # The stub for enum.auto is nothing like the implementation
enum.auto.value # The stub for enum.auto is nothing like the implementation
functools._lru_cache_wrapper.cache_parameters # Cannot be detected statically
Expand Down
4 changes: 2 additions & 2 deletions stdlib/doctest.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ __all__ = [

if sys.version_info >= (3, 13):
class TestResults(NamedTuple):
_fields: tuple[Literal["failed"], Literal["attempted"]] # type: ignore[misc]
__match_args__: tuple[Literal["failed"], Literal["attempted"]] # type: ignore[misc]
_fields = ("failed", "attempted") # type: ignore[misc]
__match_args__ = ("failed", "attempted") # type: ignore[misc]
__doc__: None # type: ignore[misc]
def __new__(cls, failed: int, attempted: int, *, skipped: int = 0) -> Self: ... # type: ignore[misc]
skipped: int
Expand Down

0 comments on commit 2b3e938

Please sign in to comment.