Commit 1db34314 authored by René Fritze's avatar René Fritze
Browse files

[tests] note on magic number in old index gen

parent f9607f00
......@@ -246,6 +246,12 @@ def valid_inds(v, length=None, random_module=None):
yield list(range(int(len(v)/2)))
yield list(range(len(v))) * 2
# TODO what's with the magic number here?
# Maybe related to this?
# pymortests/vectorarray.py:910: VisibleDeprecationWarning:
# Creating an ndarray from nested sequences exceeding
# the maximum number of dimensions of 32 is deprecated.
# If you mean to do this, you must specify
# 'dtype=object' when creating the ndarray.
length = 32
if len(v) > 0:
for ind in [-len(v), 0, len(v) - 1]:
......
Supports Markdown
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