Skip to content

Commit b23f3bb

Browse files
committed
revert
1 parent 19209ba commit b23f3bb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/problem.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,12 @@ def testcases(
787787
if not t.out_path.is_file():
788788
p._warn_once(t.name, f"Found input file {f} without a .out file. Skipping.")
789789
continue
790+
if mode == validate.Mode.VALID_OUTPUT:
791+
if t.out_path is None:
792+
continue
793+
if not t.out_path.is_file():
794+
warn(f"Found input file {f} without a .out file. Skipping.")
795+
continue
790796
testcases.append(t)
791797
testcases.sort(key=lambda t: t.name)
792798

0 commit comments

Comments
 (0)