[Tests] Changed conditional in favor of "skipif"
This commit is contained in:
parent
589c6284f6
commit
ea51835620
|
|
@ -180,10 +180,8 @@ def test_drc_fail(test_dir):
|
|||
ctx.clean_up()
|
||||
|
||||
|
||||
@pytest.mark.skipif(context.ki6(), reason="KiCad 6+ can't time-out")
|
||||
def test_drc_time_out(test_dir):
|
||||
if context.ki6():
|
||||
# KiCad 6 has Python binding, no time-out problems!
|
||||
return
|
||||
prj = 'bom'
|
||||
ctx = context.TestContext(test_dir, prj, 'drc_time_out', '')
|
||||
ctx.run(DRC_ERROR)
|
||||
|
|
|
|||
Loading…
Reference in New Issue