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