changeset 125:d864700913b8

readability
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 28 Sep 2023 14:06:11 +0100
parents ddfb3e95a219
children 1eb6cd49452d
files lib/python/cc/lmh/test/test_keys.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)