forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

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