From a618a6d03ab76770eef9ab3e24a5331ed57a2d82 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 10 Mar 2016 12:34:06 +0100 Subject: [PATCH] hardware_testbench: better message when skipping --- artiq/test/hardware_testbench.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/test/hardware_testbench.py b/artiq/test/hardware_testbench.py index 3cb0d3700..890f7e0e8 100644 --- a/artiq/test/hardware_testbench.py +++ b/artiq/test/hardware_testbench.py @@ -107,7 +107,8 @@ class ExperimentCase(unittest.TestCase): return exp except KeyError as e: # skip if ddb does not match requirements - raise unittest.SkipTest(*e.args) + raise unittest.SkipTest( + "device_db entry `{}` not found".format(*e.args)) def execute(self, cls, **kwargs): expid = {