From a56a8732f028373da6482e1f6876d64cf3fe8374 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 24 Mar 2022 14:56:16 -0700 Subject: [PATCH] Print: __array_interface__ in test --- tests/test_array4.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_array4.py b/tests/test_array4.py index 08366ab0..768c5b44 100644 --- a/tests/test_array4.py +++ b/tests/test_array4.py @@ -20,7 +20,9 @@ def test_array4_empty(): def test_array4(): # from numpy (also a non-owning view) x = np.ones((2, 3, 4,)) + print(x.__array_interface__) arr = amrex.Array4_double(x) + print(arr.__array_interface__) assert(arr.nComp == 1) x[1, 1, 1] = 42