Commit d79982c1 authored by Stefan Behnel's avatar Stefan Behnel

Py2 test fixes

parent 67ee1fff
......@@ -45,6 +45,8 @@ True
"""
import sys
if sys.version_info[0] < 3:
sys.exc_clear()
cdef class cy_iterator(object):
def __iter__(self):
......
......@@ -11,6 +11,8 @@ __doc__ = u"""
"""
import sys
if sys.version_info[0] < 3:
sys.exc_clear()
def foo():
try:
......
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