diff --git a/chia/_tests/core/server/test_dos.py b/chia/_tests/core/server/test_dos.py index 5a59b1592128..df8e2d1511ed 100644 --- a/chia/_tests/core/server/test_dos.py +++ b/chia/_tests/core/server/test_dos.py @@ -172,9 +172,8 @@ async def test_invalid_protocol_handshake(self, setup_two_nodes_fixture, self_ho await session.close() await asyncio.sleep(1) # give some time for cleanup to work - @pytest.mark.parametrize("n", range(10)) @pytest.mark.anyio - async def test_spam_tx(self, setup_two_nodes_fixture, self_hostname, n): + async def test_spam_tx(self, setup_two_nodes_fixture, self_hostname): nodes, _, _ = setup_two_nodes_fixture _full_node_1, full_node_2 = nodes server_1 = nodes[0].full_node.server diff --git a/pytest.ini b/pytest.ini index f05e2f4fee2b..740b149761a8 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,6 +1,6 @@ [pytest] ; logging options -log_cli = True +log_cli = False addopts = --verbose --tb=short -n auto -p no:monitor log_level = WARNING console_output_style = count diff --git a/ruff.toml b/ruff.toml index bfbf12ecead2..9213a15935c8 100644 --- a/ruff.toml +++ b/ruff.toml @@ -75,7 +75,7 @@ ignore = [ ban-relative-imports = "all" [lint.flake8-tidy-imports.banned-api] - "asyncio.create_task".msg = "Use `from chia.util.pit import pit` and `pit.create_task()`" + "asyncio.create_task".msg = "Use `from chia.util.task_referencer import create_referenced_task` and `create_referenced_task()`" [lint.isort] required-imports = ["from __future__ import annotations"]