""" Script to smoke-test our Cython wrappers
"""
# Author: Gael Varoquaux
# License: BSD
import numpy as np

import cython_wrapper
a = cython_wrapper.py_compute(10)

print ('The array created is', a)
print ('It carries a reference to our deallocator: ', a.base)
np.testing.assert_allclose(a, np.arange(10))

f6fe4673d117597dc5d7115093f9e29b9fd72b21
<mask token>

<mask token>
print('The array created is', a)
print('It carries a reference to our deallocator: ', a.base)
np.testing.assert_allclose(a, np.arange(10))

<mask token>
a = cython_wrapper.py_compute(10)
print('The array created is', a)
print('It carries a reference to our deallocator: ', a.base)
np.testing.assert_allclose(a, np.arange(10))

<mask token>
import numpy as np
import cython_wrapper
a = cython_wrapper.py_compute(10)
print('The array created is', a)
print('It carries a reference to our deallocator: ', a.base)
np.testing.assert_allclose(a, np.arange(10))

""" Script to smoke-test our Cython wrappers
"""
# Author: Gael Varoquaux
# License: BSD
import numpy as np

import cython_wrapper
a = cython_wrapper.py_compute(10)

print ('The array created is', a)
print ('It carries a reference to our deallocator: ', a.base)
np.testing.assert_allclose(a, np.arange(10))
