mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Upgrade to stubtest with dunder pos only reverted (#7442)
This commit is contained in:
1
stubs/braintree/@tests/stubtest_allowlist.txt
Normal file
1
stubs/braintree/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1 @@
|
||||
.*\.AttributeGetter.__repr__ # has an extra argument, but also a million things inherit from it
|
||||
@@ -1,2 +1,7 @@
|
||||
cachetools.Cache.get
|
||||
cachetools.cache.Cache.get
|
||||
|
||||
# it looks like cachetools stubs are really out of date, so none of the modules
|
||||
# referenced exist anymore
|
||||
cachetools\..*\.__(get|set|del)item__ # has extra argument
|
||||
cachetools\..*TTLCache.__repr__
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
frozendict.FrozenOrderedDict
|
||||
frozendict.frozendict.__hash__
|
||||
frozendict.frozendict.__new__
|
||||
frozendict.frozendict.__repr__ # forwards args to super
|
||||
frozendict.frozendict.copy
|
||||
|
||||
@@ -22,6 +22,8 @@ class FilterNode:
|
||||
assertion: Any
|
||||
elements: Any
|
||||
def __init__(self, tag: Any | None = ..., assertion: Any | None = ...) -> None: ...
|
||||
def __str__(self, pos: int = ...) -> str: ...
|
||||
def __repr__(self, pos: int = ...) -> str: ...
|
||||
def append(self, filter_node): ...
|
||||
|
||||
def evaluate_match(match, schema, auto_escape, auto_encode, validator, check_names): ...
|
||||
|
||||
1
stubs/selenium/@tests/stubtest_allowlist.txt
Normal file
1
stubs/selenium/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1 @@
|
||||
selenium.webdriver.__all__ # intentional
|
||||
@@ -20,6 +20,7 @@ from .webkitgtk.options import Options as WebKitGTKOptions
|
||||
from .webkitgtk.webdriver import WebDriver as WebKitGTK
|
||||
|
||||
# We need an explicit __all__ because some of the above won't otherwise be exported.
|
||||
# This could also be fixed using assignments
|
||||
__all__ = [
|
||||
"Firefox",
|
||||
"FirefoxProfile",
|
||||
|
||||
Reference in New Issue
Block a user