From 3184264b3b29b4de13504bb73b4b102b56257a6c Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 26 Dec 2020 04:11:02 +0100 Subject: [PATCH] Try to fix windows --- test/refactor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/refactor.py b/test/refactor.py index d9b5bc7f..7598bc7d 100644 --- a/test/refactor.py +++ b/test/refactor.py @@ -82,7 +82,7 @@ def _collect_file_tests(code, path, lines_to_execute): yield RefactoringCase(name, first, line_nr, index, path, kwargs, type_, second) if match is None: - raise Exception(f"Didn't match any test for {path}") + raise Exception(f"Didn't match any test for {path}, {code!r}") if match.end() != len(code): raise Exception(f"Didn't match until the end of the file in {path}")