File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1846,7 +1846,7 @@ def create_index(self):
1846
1846
def test_argsort (self ):
1847
1847
idx = self .create_index ()
1848
1848
if PY36 :
1849
- with tm .assert_raises_regex (TypeError , "'>' not supported" ):
1849
+ with tm .assert_raises_regex (TypeError , "'>|< ' not supported" ):
1850
1850
result = idx .argsort ()
1851
1851
elif PY3 :
1852
1852
with tm .assert_raises_regex (TypeError , "unorderable types" ):
@@ -1859,7 +1859,7 @@ def test_argsort(self):
1859
1859
def test_numpy_argsort (self ):
1860
1860
idx = self .create_index ()
1861
1861
if PY36 :
1862
- with tm .assert_raises_regex (TypeError , "'>' not supported" ):
1862
+ with tm .assert_raises_regex (TypeError , "'>|< ' not supported" ):
1863
1863
result = np .argsort (idx )
1864
1864
elif PY3 :
1865
1865
with tm .assert_raises_regex (TypeError , "unorderable types" ):
You can’t perform that action at this time.
0 commit comments