[qa] test_framework: Properly print exceptions and assert empty dict

This commit is contained in:
MarcoFalke 2016-04-26 18:11:42 +02:00
parent 5555528b47
commit fada064f67
2 changed files with 2 additions and 2 deletions
qa/rpc-tests/test_framework

View file

@ -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: