File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -2125,9 +2125,7 @@ def serialize(x, axis):
21252125 # array we can loop through.
21262126 work_array = np .moveaxis (x , axis , range (- len (axis ), 0 ))
21272127 out_shape = work_array .shape [: - len (axis )]
2128- work_array = work_array .reshape (
2129- np .prod (out_shape , dtype = int ), - 1
2130- )
2128+ work_array = work_array .reshape (np .prod (out_shape , dtype = int ), - 1 )
21312129
21322130 joined = []
21332131 for arr_slice in work_array :
Original file line number Diff line number Diff line change @@ -740,9 +740,7 @@ def test_string_nd_second(self):
740740
741741 def test_string_nd_bounds_first (self ):
742742 self .setupTestArrays ((3 , 4 ))
743- coord = AuxCoord (
744- self .pts_real .astype (str ), bounds = self .bds_real .astype (str )
745- )
743+ coord = AuxCoord (self .pts_real .astype (str ), bounds = self .bds_real .astype (str ))
746744
747745 collapsed_coord = coord .collapsed (0 )
748746
@@ -766,9 +764,7 @@ def test_string_nd_bounds_first(self):
766764
767765 def test_string_nd_bounds_second (self ):
768766 self .setupTestArrays ((3 , 4 ))
769- coord = AuxCoord (
770- self .pts_real .astype (str ), bounds = self .bds_real .astype (str )
771- )
767+ coord = AuxCoord (self .pts_real .astype (str ), bounds = self .bds_real .astype (str ))
772768
773769 collapsed_coord = coord .collapsed (1 )
774770
You can’t perform that action at this time.
0 commit comments