From 5c21b2828198bf56eba9087bca2eaa4e3433d269 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Sun, 12 Dec 2021 18:40:39 -0500 Subject: [PATCH] docs: convert comment to docstring Will show when running `pytest --fixtures` Signed-off-by: Mike Fiedler --- tests/conftest.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 02701e6..2765b3a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -6,7 +6,9 @@ @pytest.fixture(autouse=True) def reenable_socket(): - # The tests can leave the socket disabled in the global scope. - # Fix that by automatically re-enabling it after each test + """ + The tests can leave the socket disabled in the global scope. + Fix by automatically re-enabling it after each test. + """ yield enable_socket()