From 6e0a62e7211a33bf888ffac97b99dc628119fce0 Mon Sep 17 00:00:00 2001 From: Sam Baek Date: Thu, 4 Jan 2024 18:46:32 -0500 Subject: [PATCH] Fix missing TestFailure import in smallest_subarray_covering_all_values.py TestFailure class was not imported in this file, and thus crashing the program --- epi_judge_python/smallest_subarray_covering_all_values.py | 1 + 1 file changed, 1 insertion(+) diff --git a/epi_judge_python/smallest_subarray_covering_all_values.py b/epi_judge_python/smallest_subarray_covering_all_values.py index b7dc2a595..b768015d0 100644 --- a/epi_judge_python/smallest_subarray_covering_all_values.py +++ b/epi_judge_python/smallest_subarray_covering_all_values.py @@ -3,6 +3,7 @@ from typing import List from test_framework import generic_test +from test_framework.test_failure import TestFailure from test_framework.test_utils import enable_executor_hook Subarray = collections.namedtuple('Subarray', ('start', 'end'))