aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/trial_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/trial_test.py')
-rwxr-xr-xselftest/trial_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/trial_test.py b/selftest/trial_test.py
index 41d71e6..a99428a 100755
--- a/selftest/trial_test.py
+++ b/selftest/trial_test.py
@@ -37,13 +37,13 @@ t = Trial(d.child('invalid_checksum'))
try:
t.verify()
except RuntimeError as e:
- print('ok, got %r' % e)
+ print('ok, got RuntimeError: %s' % str(e))
print('- detect missing file')
t = Trial(d.child('missing_file'))
try:
t.verify()
except RuntimeError as e:
- print('ok, got %r' % e)
+ print('ok, got RuntimeError: %s' % str(e))
# vim: expandtab tabstop=4 shiftwidth=4