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

Uninitialized test Py3k fix

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