aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-09-12 07:14:41 +0300
committerFrederick Muriuki Muriithi2022-09-12 07:14:41 +0300
commit3a692bf277f0176b1ceb95c60b5ec688219e1058 (patch)
tree857af76e86018cbffe209b9921b13a767a17c07e
parentd5c8a84636b7fdb5934a67853287632253454416 (diff)
downloadgenenetwork2-3a692bf277f0176b1ceb95c60b5ec688219e1058.tar.gz
Display cause(s) of test failure.
-rw-r--r--test/requests/correlation_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py
index 5115ba08..38979abc 100644
--- a/test/requests/correlation_tests.py
+++ b/test/requests/correlation_tests.py
@@ -87,8 +87,8 @@ def check_correlations(args_obj, parser):
print(f"\tChecking {corr_type} correlations...", end="")
corr_type_fn(host, corr_base)
print(" ok")
- except AssertionError:
- print (" fail")
+ except AssertionError as asserterr:
+ print (f" fail: {asserterr.args[0]}")
failure = True
if failure: