From 7b84446c553380f453780aef1b58bd1d18d4e299 Mon Sep 17 00:00:00 2001 From: Guillaume HEUSCH <guillaume.heusch@idiap.ch> Date: Wed, 28 Feb 2018 12:27:03 +0100 Subject: [PATCH] [test] corrected the np vs numpy in the test from frame container to array --- bob/pad/base/test/test_algorithms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/pad/base/test/test_algorithms.py b/bob/pad/base/test/test_algorithms.py index 2c244da..1646733 100644 --- a/bob/pad/base/test/test_algorithms.py +++ b/bob/pad/base/test/test_algorithms.py @@ -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 isinstance(features_array[0], numpy.array) + assert isinstance(features_array[0], np.array) features_fm = convert_array_to_list_of_frame_cont(real_array) assert isinstance(features_fm[0], bob.bio.video.FrameContainer) -- GitLab