From abdf699d023457f716cf77a91829ea1a9494d16b Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Wed, 11 Dec 2019 17:29:44 +0100 Subject: [PATCH] Closedown --- script/scitest/dataset_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/scitest/dataset_test.py b/script/scitest/dataset_test.py index c2cd3b2..ab6b758 100644 --- a/script/scitest/dataset_test.py +++ b/script/scitest/dataset_test.py @@ -783,11 +783,11 @@ class Test(unittest.TestCase): s = dr[:2, ..., 1].shape print s self.assertEquals(s, (2, 3, 5)) - """ #### - s = dr[:2, ..., ..., 1].shape + "" + s = dr[:2, :, :, 1].shape print s self.assertEquals(s, (2, 3, 5)) - """ + print "test newaxis" dr = np.arange(15).reshape(3, 5) s = dr[np.newaxis, :, 1:].shape