diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2024-02-26 12:57:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 12:57:09 (GMT) |
commit | 015b97d19a24a169cc3c0939119e1228791e4253 (patch) | |
tree | 5111a5aeb6566145cd725cd7928eb0d031e71bc6 /Lib/test/test_exceptions.py | |
parent | b7383b8b71d49c761480ae9a8b2111644310e61d (diff) | |
download | cpython-015b97d19a24a169cc3c0939119e1228791e4253.zip cpython-015b97d19a24a169cc3c0939119e1228791e4253.tar.gz cpython-015b97d19a24a169cc3c0939119e1228791e4253.tar.bz2 |
gh-115823: Calculate correctly error locations when dealing with implicit encodings (#115824)
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index c7e7641..c5eff8a 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -301,6 +301,7 @@ class ExceptionTests(unittest.TestCase): { 6 0="""''', 5, 13) + check('b"fooжжж"'.encode(), 1, 1, 1, 10) # Errors thrown by symtable.c check('x = [(yield i) for i in range(3)]', 1, 7) |