Skip to content

Commit 415a667

Browse files
committed
test: remove dead code
1 parent 4f1acb0 commit 415a667

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

pytools/idfx_test_run.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -474,20 +474,6 @@ def validateTestmeJsons(self) -> bool:
474474
return True
475475

476476
def main(self, all: bool = False):
477-
# make testme.json validation for pre-commit
478-
if "--validate-testme-jsons" in sys.argv:
479-
try:
480-
tests = self.genTests()
481-
for test in tests:
482-
testfile = test.values[0]["testfile"]
483-
id = test.id
484-
print(f"{testfile} => {id}")
485-
except Exception as e:
486-
print(f"{e}")
487-
sys.exit(1)
488-
return
489-
490-
# run
491477
if all:
492478
sys.argv.append("-all")
493479
idefixTest = tst.idfxTest(self.parentScritFile, name="main")

0 commit comments

Comments
 (0)