Commit 58e30448 authored by Stefan Behnel's avatar Stefan Behnel

Py3.3 test fix

parent dc1e8da9
......@@ -67,9 +67,9 @@ def make_new_builtin():
@cython.test_fail_if_path_exists('//SimpleCallNode/AttributeNode')
def make_new_none(type t=None):
"""
>>> isinstance(make_new_none(), MyType)
>>> make_new_none() # doctest: +ELLIPSIS
Traceback (most recent call last):
TypeError: object.__new__(X): X is not a type object (NoneType)
TypeError: ...__new__(X): X is not a type object (NoneType)
"""
m = t.__new__(t)
return m
......
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