Commit 89680db6 authored by Robert Bradshaw's avatar Robert Bradshaw

Tests fixes for Py3.

parent e2438703
......@@ -3,7 +3,7 @@ from cpython.object cimport Py_EQ, Py_NE
def double_ptr_slice(x, L, int a, int b):
"""
>>> L = range(10)
>>> L = list(range(10))
>>> double_ptr_slice(5, L, 0, 10)
>>> double_ptr_slice(6, L, 0, 10)
>>> double_ptr_slice(None, L, 0, 10)
......@@ -27,7 +27,7 @@ def double_ptr_slice(x, L, int a, int b):
def void_ptr_slice(py_x, L, int a, int b):
"""
>>> L = range(10)
>>> L = list(range(10))
>>> void_ptr_slice(5, L, 0, 10)
>>> void_ptr_slice(6, L, 0, 10)
>>> void_ptr_slice(None, L, 0, 10)
......
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