From 2d46028e21b4095479302629a201c3cfc811b2c2 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 12 Jun 2024 21:52:46 -0500 Subject: [PATCH] Update tests/test_block_async_io.py Co-authored-by: Erik Montnemery --- tests/test_block_async_io.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_block_async_io.py b/tests/test_block_async_io.py index f1eba6f5ef4..63568fd7c1c 100644 --- a/tests/test_block_async_io.py +++ b/tests/test_block_async_io.py @@ -18,7 +18,8 @@ from .common import extract_stack_to_frame @pytest.fixture(autouse=True) -def unpatch_block_async_io(disable_block_async_io_after): +@pytest.mark.usefixtures("disable_block_async_io") +def disable_block_async_io(): """Unpatch block_async_io after each test."""