diff options
author | Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> | 2019-02-01 19:58:43 (GMT) |
---|---|---|
committer | Emily Morehouse <emilyemorehouse@gmail.com> | 2019-02-01 19:58:43 (GMT) |
commit | 075de6cf6cb0f5f4d3711fc07f023a9a7a0a816b (patch) | |
tree | bc8d3dcb33cb8b97cdd4a35fd8240317527a8c03 | |
parent | 3a32e3bf880f0842ac73d18285f5a1caa902a2ca (diff) | |
download | cpython-075de6cf6cb0f5f4d3711fc07f023a9a7a0a816b.zip cpython-075de6cf6cb0f5f4d3711fc07f023a9a7a0a816b.tar.gz cpython-075de6cf6cb0f5f4d3711fc07f023a9a7a0a816b.tar.bz2 |
bpo-35861: Fix SyntaxWarning in test_named_expressions.py (GH-11722)
-rw-r--r-- | Lib/test/test_named_expressions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_named_expressions.py b/Lib/test/test_named_expressions.py index e49fd7d..ff426f4 100644 --- a/Lib/test/test_named_expressions.py +++ b/Lib/test/test_named_expressions.py @@ -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") |