Skip to content

Commit 5031e29

Browse files
committed
- removed useless imports from test_array.py
- replaced XXX by TODO in a comment
1 parent 6a13706 commit 5031e29

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

larray/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ def meta(self, meta):
778778
"instead of {}".format(type(meta).__name__))
779779
self._meta = meta if isinstance(meta, Metadata) else Metadata(meta)
780780

781-
# XXX: rename to posnonzero and implement a label version of nonzero
781+
# TODO: rename to posnonzero and implement a label version of nonzero
782782
def nonzero(self):
783783
"""
784784
Returns the indices of the elements that are non-zero.

larray/tests/test_array.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import os
44
import sys
55
import datetime as dt
6-
from collections import OrderedDict
7-
from unittest import TestCase
86

97
import pytest
108
import numpy as np
@@ -21,7 +19,7 @@
2119
from_lists, from_string, open_excel, from_frame, sequence, nan_equal)
2220
from larray.inout.pandas import from_series
2321
from larray.core.axis import _to_ticks, _to_key
24-
from larray.util.misc import StringIO, LHDFStore, PY2
22+
from larray.util.misc import StringIO, LHDFStore
2523
from larray.core.metadata import Metadata
2624

2725

0 commit comments

Comments
 (0)