From 758c94f14a1fef547e4af93d4e849854dc9d7f53 Mon Sep 17 00:00:00 2001 From: Geert Hesselink Date: Sun, 3 Nov 2024 22:27:39 +0100 Subject: [PATCH] operator -> op --- features/steps/givens/attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/steps/givens/attributes.py b/features/steps/givens/attributes.py index 8d421064..55081c8d 100644 --- a/features/steps/givens/attributes.py +++ b/features/steps/givens/attributes.py @@ -170,7 +170,7 @@ def parse_attributes_and_operators(text): assert len(operators) == 1, 'only one operator [and/or] allowed in expression' op = list(operators)[0] else: # if there is only a single attribute, both operators work - attributes, operator = [item], operator.and_ + attributes, op = [item], operator.and_ return attributes, op