File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1807,8 +1807,7 @@ def test_order(self):
1807
1807
idx = self .create_index ()
1808
1808
# 9816 deprecated
1809
1809
if PY36 :
1810
- with tm .assertRaisesRegexp (TypeError , "'>' not supported "
1811
- "between instances of 'str' and 'int'" ):
1810
+ with tm .assertRaisesRegexp (TypeError , "'>' not supported" ):
1812
1811
with tm .assert_produces_warning (FutureWarning ):
1813
1812
idx .order ()
1814
1813
elif PY3 :
@@ -1822,8 +1821,7 @@ def test_order(self):
1822
1821
def test_argsort (self ):
1823
1822
idx = self .create_index ()
1824
1823
if PY36 :
1825
- with tm .assertRaisesRegexp (TypeError , "'>' not supported "
1826
- "between instances of 'str' and 'int'" ):
1824
+ with tm .assertRaisesRegexp (TypeError , "'>' not supported" ):
1827
1825
result = idx .argsort ()
1828
1826
elif PY3 :
1829
1827
with tm .assertRaisesRegexp (TypeError , "unorderable types" ):
@@ -1836,8 +1834,7 @@ def test_argsort(self):
1836
1834
def test_numpy_argsort (self ):
1837
1835
idx = self .create_index ()
1838
1836
if PY36 :
1839
- with tm .assertRaisesRegexp (TypeError , "'>' not supported "
1840
- "between instances of 'str' and 'int'" ):
1837
+ with tm .assertRaisesRegexp (TypeError , "'>' not supported" ):
1841
1838
result = np .argsort (idx )
1842
1839
elif PY3 :
1843
1840
with tm .assertRaisesRegexp (TypeError , "unorderable types" ):
You can’t perform that action at this time.
0 commit comments