Commit 66f0def5 authored by Stefan Behnel's avatar Stefan Behnel

compare test result with CPython

--HG--
rename : tests/run/ref2global.pyx => tests/run/ref2global.py
parent c590e398
...@@ -9,9 +9,11 @@ except ImportError: ...@@ -9,9 +9,11 @@ except ImportError:
def f(a): def f(a):
""" """
>>> f(1) Py<=3.3 gives 'global name ...', Py3.4+ only 'name ...'
>>> f(1) # doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
NameError: name 'definitely_unknown_name' is not defined NameError: ...name 'definitely_unknown_name' is not defined
""" """
a = f a = f
a = definitely_unknown_name a = definitely_unknown_name
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