Script execution

This commit is contained in:
2019-12-11 17:15:54 +01:00
parent 0cf304828b
commit 87dcd1b92f

View File

@@ -783,11 +783,11 @@ class Test(unittest.TestCase):
s = dr[:2, ..., 1].shape
print s
self.assertEquals(s, (2, 3, 5))
print " ---------------------------------------- "
""" ####
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