Skip to content

Commit

Permalink
bpo-35861: Fix SyntaxWarning in test_named_expressions.py (pythonGH-1…
Browse files Browse the repository at this point in the history
  • Loading branch information
nanjekyejoannah authored and emilyemorehouse committed Feb 1, 2019
1 parent 3a32e3b commit 075de6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_named_expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_named_expression_assignment_09(self):
else: self.fail("variable was not assigned using named expression")

def test_named_expression_assignment_10(self):
if (match := 10) is 10:
if (match := 10) == 10:
pass
else: self.fail("variable was not assigned using named expression")

Expand Down

0 comments on commit 075de6c

Please sign in to comment.