Commit 6ba933fc authored by Stefan Behnel's avatar Stefan Behnel

make a doctest cover pypy's error message

parent 9f70157c
......@@ -2,12 +2,12 @@
# tag: syntax
"""
>>> y
>>> y # doctest: +ELLIPSIS
Traceback (most recent call last):
NameError: name 'y' is not defined
>>> z
NameError: ...name 'y' is not defined
>>> z # doctest: +ELLIPSIS
Traceback (most recent call last):
NameError: name 'z' is not defined
NameError: ...name 'z' is not defined
>>> f()
17
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment