summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/kms-test-modes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms-test-modes.py b/tests/kms-test-modes.py
index c478489..14463ad 100755
--- a/tests/kms-test-modes.py
+++ b/tests/kms-test-modes.py
@@ -60,7 +60,7 @@ class ModesTest(kmstest.KMSTest):
self.progress(i+1, len(modes))
self.test_mode(connector, crtc, modes[i])
except RuntimeError as e:
- self.fail(e.message)
+ self.fail(e.args[0])
break
else:
self.success()