From c3ac01adf3ac5e4e1a8fd38f4d0aeecf83ffe4d2 Mon Sep 17 00:00:00 2001 From: Shamil Date: Fri, 18 Apr 2025 13:41:26 +0300 Subject: [PATCH] refactor: remove unused variable in pytest plugin Removed the `add_markers` variable, as it was declared but never used. This cleanup helps reduce code clutter and improves readability. --- lib/sqlalchemy/testing/plugin/pytestplugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/sqlalchemy/testing/plugin/pytestplugin.py b/lib/sqlalchemy/testing/plugin/pytestplugin.py index aa531776f8..79d14458ca 100644 --- a/lib/sqlalchemy/testing/plugin/pytestplugin.py +++ b/lib/sqlalchemy/testing/plugin/pytestplugin.py @@ -270,7 +270,6 @@ def pytest_collection_modifyitems(session, config, items): for test_class in test_classes: # transfer legacy __backend__ and __sparse_backend__ symbols # to be markers - add_markers = set() if getattr(test_class.cls, "__backend__", False) or getattr( test_class.cls, "__only_on__", False ): -- 2.47.3