diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-04-26 18:11:42 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-04-26 18:04:26 +0200 |
commit | fada064f67302502f6b51d9d22927381c2707cbb (patch) | |
tree | 7020bf9e43b6f51e6f97d1fe47d710a91f1680e9 /qa/rpc-tests/test_framework/test_framework.py | |
parent | 5555528b47b7d33a5b963c076e6bb09ee25931b5 (diff) | |
download | bitcoin-fada064f67302502f6b51d9d22927381c2707cbb.tar.xz |
[qa] test_framework: Properly print exceptions and assert empty dict
Diffstat (limited to 'qa/rpc-tests/test_framework/test_framework.py')
-rwxr-xr-x | qa/rpc-tests/test_framework/test_framework.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py index 3b08cd1384..18ecf64b06 100755 --- a/qa/rpc-tests/test_framework/test_framework.py +++ b/qa/rpc-tests/test_framework/test_framework.py @@ -146,7 +146,7 @@ class BitcoinTestFramework(object): print("key not found: "+ str(e)) traceback.print_tb(sys.exc_info()[2]) except Exception as e: - print("Unexpected exception caught during testing: "+str(e)) + print("Unexpected exception caught during testing: " + repr(e)) traceback.print_tb(sys.exc_info()[2]) if not self.options.noshutdown: |