From c74a6fad5475495756a5bdb18b2cab2b68d429bc Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 31 Aug 2023 10:27:32 +0200 Subject: [PATCH] Refs #32355 -- Removed unnecessary getattr() call. options.test_name_patterns is always defined. Follow up to ec0ff406311de88f4e2a135d784363424fe602aa. --- tests/runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.py b/tests/runtests.py index 543344854c..2ea27b88c2 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -790,7 +790,7 @@ if __name__ == "__main__": options.parallel, options.tags, options.exclude_tags, - getattr(options, "test_name_patterns", None), + options.test_name_patterns, options.start_at, options.start_after, options.pdb,