diff --git a/bindings/pyroot/pythonizations/test/rdataframe_asnumpy.py b/bindings/pyroot/pythonizations/test/rdataframe_asnumpy.py index 2ecdd9dafa262..e75d0150913b8 100644 --- a/bindings/pyroot/pythonizations/test/rdataframe_asnumpy.py +++ b/bindings/pyroot/pythonizations/test/rdataframe_asnumpy.py @@ -120,7 +120,7 @@ def test_read_array(self): npy = df.AsNumpy() self.assertEqual(npy["x"].size, 5) self.assertEqual(list(npy["x"][0]), [0, 0, 0]) - self.assertIn("array", str(type(npy["x"][0]))) + self.assertIs(type(npy["x"][0]), ROOT.std.array["unsigned int", 3]) def test_read_th1f(self): """