mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Fix stubtest for sqlalchemy.testing.plugin.pytestplugin (#9533)
This commit is contained in:
1
stubs/SQLAlchemy/@tests/requirements-stubtest.txt
Normal file
1
stubs/SQLAlchemy/@tests/requirements-stubtest.txt
Normal file
@@ -0,0 +1 @@
|
||||
pytest
|
||||
@@ -59,10 +59,7 @@ sqlalchemy.testing.provision.stop_test_class_outside_fixtures
|
||||
sqlalchemy.testing.provision.temp_table_keyword_args
|
||||
sqlalchemy.testing.provision.update_db_opts
|
||||
|
||||
# requires other packages
|
||||
sqlalchemy.testing.plugin.pytestplugin
|
||||
|
||||
# can't be imported
|
||||
# KeyError/AttributeError on import due to dynamic initialization from a different module
|
||||
sqlalchemy.testing.fixtures
|
||||
sqlalchemy.testing.pickleable
|
||||
sqlalchemy.testing.plugin.bootstrap
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
from typing import Any
|
||||
from typing_extensions import Final
|
||||
|
||||
from . import plugin_base
|
||||
|
||||
has_xdist: bool
|
||||
py2k: Any
|
||||
py2k: Final = False
|
||||
|
||||
def pytest_addoption(parser) -> None: ...
|
||||
def pytest_configure(config) -> None: ...
|
||||
@@ -14,8 +13,6 @@ def collect_types_fixture() -> None: ...
|
||||
def pytest_sessionstart(session) -> None: ...
|
||||
def pytest_sessionfinish(session) -> None: ...
|
||||
def pytest_collection_finish(session): ...
|
||||
def pytest_configure_node(node) -> None: ...
|
||||
def pytest_testnodedown(node, error) -> None: ...
|
||||
def pytest_collection_modifyitems(session, config, items): ...
|
||||
def pytest_pycollect_makeitem(collector, name, obj): ...
|
||||
def pytest_runtest_setup(item) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user