Skip to content

Commit

Permalink
fix for Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
paulkorir committed Nov 17, 2023
1 parent 889709d commit 7ff3256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfftk/unittests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ def test_merge_arrays(self):
mergeable_arrays = list()
individual_length = total_length // 3
while len(index_set) > individual_length:
indexes = random.sample(index_set, individual_length)
indexes = random.sample(sorted(index_set), individual_length)
index_set = index_set.difference(indexes)
_array = numpy.zeros(total_length)
numpy.put(_array, indexes, 1)
Expand Down

0 comments on commit 7ff3256

Please sign in to comment.