Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix stubtest failures in html5lib
  • Loading branch information
AlexWaygood committed Sep 26, 2022
commit 8376b8ed23c47d500619d9eb0a3d9f6bec50d13b
3 changes: 0 additions & 3 deletions stubs/html5lib/@tests/stubtest_allowlist.txt

This file was deleted.

2 changes: 1 addition & 1 deletion stubs/html5lib/html5lib/_inputstream.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class HTMLBinaryInputStream(HTMLUnicodeInputStream):
def detectEncodingMeta(self): ...

class EncodingBytes(bytes):
def __new__(cls, value): ...
def __new__(self, value): ...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change isn't strictly related to the mypy bump, but it was a very easy allowlist entry to fix, and it means that we can delete the whole allowlist for html5lib since the other allowlist entry is now unused as of mypy 0.981.

def __init__(self, value) -> None: ...
def __iter__(self): ...
def __next__(self): ...
Expand Down