Script execution
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user