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 @@ -2124,9 +2124,7 @@ def serialize(x, axis):
21242124 # array we can loop through.
21252125 work_array = np .moveaxis (x , axis , range (- len (axis ), 0 ))
21262126 out_shape = work_array .shape [: - len (axis )]
2127- work_array = work_array .reshape (
2128- np .prod (out_shape , dtype = int ), - 1
2129- )
2127+ work_array = work_array .reshape (np .prod (out_shape , dtype = int ), - 1 )
21302128
21312129 joined = []
21322130 for arr_slice in work_array :
Original file line number Diff line number Diff line change @@ -581,9 +581,7 @@ def test_string_nd_second(self):
581581
582582 def test_string_nd_bounds_first (self ):
583583 self .setupTestArrays ((3 , 4 ))
584- coord = AuxCoord (
585- self .pts_real .astype (str ), bounds = self .bds_real .astype (str )
586- )
584+ coord = AuxCoord (self .pts_real .astype (str ), bounds = self .bds_real .astype (str ))
587585
588586 collapsed_coord = coord .collapsed (0 )
589587
@@ -607,9 +605,7 @@ def test_string_nd_bounds_first(self):
607605
608606 def test_string_nd_bounds_second (self ):
609607 self .setupTestArrays ((3 , 4 ))
610- coord = AuxCoord (
611- self .pts_real .astype (str ), bounds = self .bds_real .astype (str )
612- )
608+ coord = AuxCoord (self .pts_real .astype (str ), bounds = self .bds_real .astype (str ))
613609
614610 collapsed_coord = coord .collapsed (1 )
615611
You can’t perform that action at this time.
0 commit comments