diff --git a/bob/bio/base/test/test_utils.py b/bob/bio/base/test/test_utils.py index b8781f902776a3e51d12237f0af06a73032fc590..224e8bd1be002d479e5a29987c48f5dcb5215345 100644 --- a/bob/bio/base/test/test_utils.py +++ b/bob/bio/base/test/test_utils.py @@ -83,10 +83,10 @@ def test_sampling(): assert indices == list(range(5, 100, 10)) indices = bob.bio.base.selected_indices(100, 300) - assert indices == list(range(100)) + assert indices == range(100) indices = bob.bio.base.selected_indices(100, None) - assert indices == list(range(100)) + assert indices == range(100) array = numpy.arange(100) elements = bob.bio.base.selected_elements(array, 10)