From 88f7f9ab27d2d953597eab9cc467f580dfa5f846 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Fri, 28 Jun 2024 07:33:34 -0600 Subject: [PATCH] bench: fix bas isinstance sequence in one test Signed-off-by: Mats Wichmann --- bench/is_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/is_types.py b/bench/is_types.py index 257fa915c4..ecc0edbdb0 100644 --- a/bench/is_types.py +++ b/bench/is_types.py @@ -53,7 +53,7 @@ def cache_type_e_is_Dict(e): def cache_type_e_is_List(e): t = type(e) - return t is list or isinstance(e, UserList or isinstance(e, deque)) + return t is list or isinstance(e, (UserList, deque)) def cache_type_e_is_String(e): t = type(e)