diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-04-23 14:35:52 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-06-10 00:22:41 +0200 |
commit | 493b89e959f58939fd683cb0a6f1a58287543308 (patch) | |
tree | 5ac1f30fca79ff471a745e90ca9083a7440e4654 /qa/rpc-tests/test_framework/util.py | |
parent | 7a8348994bb7b86a0445f8e333b3b1dc27252753 (diff) | |
download | bitcoin-493b89e959f58939fd683cb0a6f1a58287543308.tar.xz |
[qa] test_framework: Properly print exceptions and assert empty dict
Github-Pull: #7951
Rebased-From: 5555528b47b7d33a5b963c076e6bb09ee25931b5 fada064f67302502f6b51d9d22927381c2707cbb
Diffstat (limited to 'qa/rpc-tests/test_framework/util.py')
-rw-r--r-- | qa/rpc-tests/test_framework/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/util.py b/qa/rpc-tests/test_framework/util.py index 875b6cf72a..9bfc422314 100644 --- a/qa/rpc-tests/test_framework/util.py +++ b/qa/rpc-tests/test_framework/util.py @@ -488,7 +488,7 @@ def assert_array_result(object_array, to_match, expected, should_not_find = Fals in object_array """ if should_not_find == True: - expected = { } + assert_equal(expected, { }) num_matched = 0 for item in object_array: all_match = True |