Commit cac44165 authored by Stefan Behnel's avatar Stefan Behnel

Fix test in Py2.6 where "memoryview" is not a builtin.

parent 63a23975
...@@ -702,8 +702,7 @@ def assign_temporary_to_object(object[:] mslice): ...@@ -702,8 +702,7 @@ def assign_temporary_to_object(object[:] mslice):
def test_pyview_of_memview(int[:] ints): def test_pyview_of_memview(int[:] ints):
""" """
>>> A = IntMockBuffer(None, [1, 2, 3]) >>> A = IntMockBuffer(None, [1, 2, 3])
>>> view = test_pyview_of_memview(A) >>> len(test_pyview_of_memview(A))
>>> len(memoryview(view))
3 3
""" """
return ints return ints
......
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