From 26b1234c22acf1e676f70c4913da0b405da33c71 Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 11 Dec 2024 13:54:49 -0500 Subject: [PATCH] Called wrong check routine --- test/test_string_tokens.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_string_tokens.py b/test/test_string_tokens.py index 9e73a55..52e0524 100644 --- a/test/test_string_tokens.py +++ b/test/test_string_tokens.py @@ -64,4 +64,4 @@ def test_string(): check_string(r'"a\"b\\c"', r'"a\"b\\c"') incomplete_error(r'"abc', "String does not have terminating quote") incomplete_error(r'"\"', "Unterminated escape sequence") - incomplete_error(r'"a\X"', '"X" is not a valid escape character') + scan_error(r'"a\X"', '"X" is not a valid escape character')