forked from M-Labs/artiq
hardware_testbench: better message when skipping
This commit is contained in:
parent
f68c24094f
commit
a618a6d03a
|
@ -107,7 +107,8 @@ class ExperimentCase(unittest.TestCase):
|
||||||
return exp
|
return exp
|
||||||
except KeyError as e:
|
except KeyError as e:
|
||||||
# skip if ddb does not match requirements
|
# 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):
|
def execute(self, cls, **kwargs):
|
||||||
expid = {
|
expid = {
|
||||||
|
|
Loading…
Reference in New Issue