[Tests] Changed conditional in favor of "skipif"

This commit is contained in:
Salvador E. Tropea 2024-03-04 10:29:12 -03:00
parent 589c6284f6
commit ea51835620
1 changed files with 1 additions and 3 deletions

View File

@ -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)