Commit 58c8e125 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH

[test] test if array is numpy.ndarray and not numpy.array ...

parent ddb7d6e8
Pipeline #17247 failed with stage
in 20 minutes and 39 seconds
......@@ -152,7 +152,7 @@ def test_convert_list_of_frame_cont_to_array():
real_array = np.transpose(np.vstack([[random.gauss(mu, sigma) for _ in range(N)], [random.gauss(mu, sigma) for _ in range(N)]]))
features_array = convert_list_of_frame_cont_to_array(real_array)
assert type(features_array[0]) is np.array
assert isinstance(features_array[0], np.ndarray)
features_fm = convert_array_to_list_of_frame_cont(real_array)
assert isinstance(features_fm[0], bob.bio.video.FrameContainer)
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