Commit 9da676a8 authored by Vitja Makarov's avatar Vitja Makarov

Uninitialized test Py3k fix

parent fdc3d3c8
......@@ -118,8 +118,8 @@ def test_inner(cond):
def test_class(cond):
"""
>>> test_class(True) #doctest: +ELLIPSIS
<class ...A at 0x...>
>>> test_class(True)
1
>>> test_class(False)
Traceback (most recent call last):
...
......@@ -127,5 +127,5 @@ def test_class(cond):
"""
if cond:
class A:
pass
return A
x = 1
return A.x
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