2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

hardware_testbench: better message when skipping

This commit is contained in:
Robert Jördens 2016-03-10 12:34:06 +01:00
parent f68c24094f
commit a618a6d03a

View File

@ -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 = {