Commit 9c2eeb0e authored by Matti Picus's avatar Matti Picus Committed by Stefan Behnel

TEST: fix some failing tests (GH-3120)

parent 925339c5
......@@ -2141,8 +2141,8 @@ def test_object_dtype_copying():
7
8
9
3 5
2 5
1 5
"""
cdef int i
......
......@@ -12,9 +12,7 @@ __doc__ = u"""
>>> short_stats['f_cdef']
100
>>> short_stats['f_cpdef']
200
>>> short_stats['f_cpdef (wrapper)']
100
300
>>> short_stats['f_inline']
100
>>> short_stats['f_inline_prof']
......@@ -50,9 +48,7 @@ __doc__ = u"""
>>> short_stats['m_cdef']
100
>>> short_stats['m_cpdef']
200
>>> short_stats['m_cpdef (wrapper)']
100
300
>>> try:
... os.unlink(statsfile)
......@@ -60,10 +56,10 @@ __doc__ = u"""
... pass
>>> sorted(callees(s, 'test_profile')) #doctest: +NORMALIZE_WHITESPACE
['f_cdef', 'f_cpdef', 'f_cpdef (wrapper)', 'f_def',
['f_cdef', 'f_cpdef', 'f_def',
'f_inline', 'f_inline_prof',
'f_raise',
'm_cdef', 'm_cpdef', 'm_cpdef (wrapper)', 'm_def',
'm_cdef', 'm_cpdef', 'm_def',
'withgil_prof']
>>> profile.runctx("test_generators()", locals(), globals(), statsfile)
......
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