File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 66from distutils .version import LooseVersion as V
77
88from nose .tools import assert_raises , assert_equal , assert_true
9- from nose .tools import assert_sequence_equal
9+
10+ try :
11+ # this is not available in nose + py2.6
12+ from nose .tools import assert_sequence_equal
13+ except ImportError :
14+ assert_sequence_equal = None
1015
1116import numpy as np
1217from numpy .testing .utils import assert_array_equal , assert_array_almost_equal
@@ -565,7 +570,8 @@ def test_pandas_iterable():
565570 import pandas as pd
566571 except ImportError :
567572 raise SkipTest ("Pandas not installed" )
568-
573+ if assert_sequence_equal is None :
574+ raise SkipTest ("nose lacks required function" )
569575 # Using a list or series yields equivalent
570
4024
576 # color maps, i.e the series isn't seen as
571577 # a single color
You can’t perform that action at this time.
0 commit comments