Commit 7b84446c authored by Guillaume HEUSCH's avatar Guillaume HEUSCH

[test] corrected the np vs numpy in the test from frame container to array

parent bb659cb3
Pipeline #17241 failed with stage
in 17 minutes and 27 seconds
...@@ -152,7 +152,7 @@ def test_convert_list_of_frame_cont_to_array(): ...@@ -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)]])) 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) features_array = convert_list_of_frame_cont_to_array(real_array)
assert isinstance(features_array[0], numpy.array) assert isinstance(features_array[0], np.array)
features_fm = convert_array_to_list_of_frame_cont(real_array) features_fm = convert_array_to_list_of_frame_cont(real_array)
assert isinstance(features_fm[0], bob.bio.video.FrameContainer) 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