diff options
Diffstat (limited to 'Lib/test/test_codeop.py')
| -rw-r--r-- | Lib/test/test_codeop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codeop.py b/Lib/test/test_codeop.py index 6966c2f..e3c3822 100644 --- a/Lib/test/test_codeop.py +++ b/Lib/test/test_codeop.py @@ -277,7 +277,7 @@ class CodeopTests(unittest.TestCase): def test_warning(self): # Test that the warning is only returned once. with warnings_helper.check_warnings( - ('"is" with a literal', SyntaxWarning), + ('"is" with \'str\' literal', SyntaxWarning), ("invalid escape sequence", SyntaxWarning), ) as w: compile_command(r"'\e' is 0") |
