Commit 075de6cf authored by Joannah Nanjekye's avatar Joannah Nanjekye Committed by Emily Morehouse

bpo-35861: Fix SyntaxWarning in test_named_expressions.py (GH-11722)

parent 3a32e3bf
......@@ -165,7 +165,7 @@ class NamedExpressionAssignmentTest(unittest.TestCase):
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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment