From 44ae89ee966041a6bcca6b7d045b693b1c11d3df Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sat, 26 Mar 2022 17:20:44 +0300 Subject: [PATCH] no files --- SprintLib/testers/Python3Tester.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SprintLib/testers/Python3Tester.py b/SprintLib/testers/Python3Tester.py index 550db6d..1274014 100644 --- a/SprintLib/testers/Python3Tester.py +++ b/SprintLib/testers/Python3Tester.py @@ -7,8 +7,9 @@ class Python3Tester(BaseTester): file = None def before_test(self): + no_files = [file.filename for file in self.solution.task.files] for file in listdir(self.solution.testing_directory): - if file.endswith(".py") and file != 'checker.py': + if file.endswith(".py") and file not in no_files: self.file = file break if self.file is None: