Skip to content
Snippets Groups Projects
Commit 7b84446c authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

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

parent bb659cb3
Branches
Tags
1 merge request!32Minor fixes
Pipeline #
...@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment