Skip to content

Commit 3ae1dff

Browse files
authored
Bump minimum testing dependencies (#163)
1 parent 695ebf5 commit 3ae1dff

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ testpaths = ["tests"]
2727
timeout = 20
2828
log_format = "%(asctime)s.%(msecs)03d %(levelname)s %(message)s"
2929
log_date_format = "%Y-%m-%d %H:%M:%S"
30+
asyncio_mode = "auto"
3031

3132
[tool.flake8]
3233
exclude = ".venv,.git,.tox,docs,venv,bin,lib,deps,build"

setup.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ exclude =
2929
[options.extras_require]
3030
# XXX: The order of these deps seems to matter
3131
testing =
32-
pytest>=5.4.5
33-
pytest-asyncio>=0.12.0
34-
pytest-timeout
35-
pytest-mock
36-
pytest-cov
32+
pytest>=7.1.2
33+
pytest-asyncio>=0.19.0
34+
pytest-timeout>=2.1.0
35+
pytest-mock>=3.8.2
36+
pytest-cov>=3.0.0
3737
coveralls
3838
asynctest; python_version < "3.8.0"

tests/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def pytest_collection_modifyitems(session, config, items):
4040
pytest.mark.filterwarnings("error::pytest.PytestUnraisableExceptionWarning")
4141
)
4242
item.add_marker(pytest.mark.filterwarnings("error::RuntimeWarning"))
43-
item.add_marker(pytest.mark.asyncio)
4443

4544

4645
class ForwardingSerialTransport:
@@ -91,7 +90,7 @@ def config_for_port_path(path):
9190

9291

9392
@pytest.fixture
94-
async def make_znp_server(mocker):
93+
def make_znp_server(mocker):
9594
transports = []
9695

9796
def inner(server_cls, config=None, shorten_delays=True):

0 commit comments

Comments
 (0)