We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28622c5 commit c0a84b5Copy full SHA for c0a84b5
pandas/tests/indexes/test_base.py
@@ -1846,7 +1846,7 @@ def create_index(self):
1846
def test_argsort(self):
1847
idx = self.create_index()
1848
if PY36:
1849
- with tm.assert_raises_regex(TypeError, "'>' not supported"):
+ with tm.assert_raises_regex(TypeError, "'>|<' not supported"):
1850
result = idx.argsort()
1851
elif PY3:
1852
with tm.assert_raises_regex(TypeError, "unorderable types"):
@@ -1859,7 +1859,7 @@ def test_argsort(self):
1859
def test_numpy_argsort(self):
1860
1861
1862
1863
result = np.argsort(idx)
1864
1865
0 commit comments