Closedown

This commit is contained in:
2019-12-11 17:29:44 +01:00
parent 87dcd1b92f
commit abdf699d02

View File

@@ -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