Skip to content

Commit

Permalink
no extra variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Aug 6, 2024
1 parent b039101 commit a0955a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/units/tokens/test_condition_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def test_zero_condition_token_report_is_about_superpower():
def test_creating_condition_token_with_no_suppress_exceptions_is_not_calling_condition():
calls = []

token = ConditionToken(lambda: calls.append(True) is None, suppress_exceptions=False)
ConditionToken(lambda: calls.append(True) is None, suppress_exceptions=False)

assert not calls

Expand Down

0 comments on commit a0955a2

Please sign in to comment.