From daa94bfa7ee2c58d4e9b3033745399a74f79bd73 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Thu, 2 Nov 2023 11:41:10 -0400 Subject: [PATCH] testr/file_data: fix DirectorySuite --- testr/file_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testr/file_data.py b/testr/file_data.py index c51b5c9..5c0243b 100644 --- a/testr/file_data.py +++ b/testr/file_data.py @@ -69,7 +69,7 @@ class DirectorySuite(TestSuite): for inp_file in test_dir.glob("*.in"): if not inp_file.is_file: continue - outp_file = inp_file.with_suffix("out") + outp_file = inp_file.with_suffix(".out") if not outp_file.is_file(): raise ValueError(f"output file '{outp_file}' is not a valid file") self.test_cases.append(FileData(inp_file, outp_file))