# HG changeset patch # User Henry S. Thompson # Date 1695906371 -3600 # Node ID d864700913b850897309acb2f91c19f1df90e0db # Parent ddfb3e95a219b8e1ac2da18b307035b7e7c601b4 readability diff -r ddfb3e95a219 -r d864700913b8 lib/python/cc/lmh/test/test_keys.py --- a/lib/python/cc/lmh/test/test_keys.py Thu Sep 28 11:00:36 2023 +0100 +++ b/lib/python/cc/lmh/test/test_keys.py Thu Sep 28 14:06:11 2023 +0100 @@ -9,5 +9,6 @@ 'key_tests.tsv'),'r') as f: for l in f: u, k = l.split() - assert (kk:=cdx_key(u)) == k, "%s should be %s from %s"%(kk,k,u) + kk = cdx_key(u) + assert kk == k, "\n%s should be\n%s\nfrom %s"%(kk,k,u)