Skip to content

Commit 121f90c

Browse files
committed
cleanup
1 parent ce5caa3 commit 121f90c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

larray/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ def axes_names(self):
866866

867867
def axes_rename(self, **kwargs):
868868
axes = [Axis(kwargs[a.name] if a.name in kwargs else a.name, a.labels)
869-
for a in self.axes]
869+
for a in self.axes]
870870
self.axes = AxisCollection(axes)
871871
return self
872872

larray/tests/test_la.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,11 +632,10 @@ def test_setitem_larray(self):
632632
raw[[1, 5, 9]] = raw[[1, 5, 9]] + 25.0
633633
self._assert_equal_raw(la, raw)
634634

635-
# b) value has exactly the same shape but VG is at a "wrong" position
635+
# b) value has exactly the same shape but VG at a "wrong" positions
636636
la = self.larray.copy()
637-
# same raw as previous test
638-
639637
la[geo[:], ages1_5_9] = la[ages1_5_9] + 25.0
638+
# same raw as previous test
640639
self._assert_equal_raw(la, raw)
641640

642641
# c) value has an extra length-1 axis

0 commit comments

Comments
 (0)