From 1a0cd12589ec555b3a28b5c53c44a615ecfb2d42 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 26 Oct 2021 15:24:27 +0200
Subject: [PATCH] fix numpy deprecated API

---
 bob/pipelines/tests/test_wrappers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/pipelines/tests/test_wrappers.py b/bob/pipelines/tests/test_wrappers.py
index aebc37d..f2ced71 100644
--- a/bob/pipelines/tests/test_wrappers.py
+++ b/bob/pipelines/tests/test_wrappers.py
@@ -140,7 +140,7 @@ def test_failing_sample_transformer():
 
     X = np.zeros(shape=(10, 2))
     samples = [mario.Sample(data) for i, data in enumerate(X)]
-    expected = np.full_like(X, 2, dtype=np.object)
+    expected = np.full_like(X, 2, dtype=object)
     expected[::2] = None
     expected[1::4] = None
 
-- 
GitLab