mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-12458: Fix line numbers for multiline expressions. (GH-8774)
This commit is contained in:
parent
5e99b56d6b
commit
da8d72c953
9 changed files with 3741 additions and 3709 deletions
|
@ -2719,7 +2719,7 @@ Check doctest with a non-ascii filename:
|
|||
Exception raised:
|
||||
Traceback (most recent call last):
|
||||
File ...
|
||||
compileflags, 1), test.globs)
|
||||
exec(compile(example.source, filename, "single",
|
||||
File "<doctest foo-bär@baz[0]>", line 1, in <module>
|
||||
raise Exception('clé')
|
||||
Exception: clé
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue