Message ID | 20220731152024.24090-3-laurent.pinchart@ideasonboard.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Kieran Bingham |
Headers | show |
Series | Miscellaneous fixes and improvements | expand |
diff --git a/tests/kms-test-modes.py b/tests/kms-test-modes.py index c47848904ec4..14463add7802 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()
The RuntimeError class has no message member. Use args[0] instead. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- tests/kms-test-modes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)