From 0cddc822ef15012c824cc8864feed4aa7b7771d6 Mon Sep 17 00:00:00 2001 From: tp Date: Sun, 29 Jul 2018 01:56:53 +0100 Subject: [PATCH] fix for #21224 wrong sort order --- pandas/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/conftest.py b/pandas/conftest.py index e878b32fcad7b..c714ce2228d09 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -126,7 +126,7 @@ def all_arithmetic_operators(request): # use sorted as dicts in py<3.6 have random order, which xdist doesn't like _cython_table = sorted(((key, value) for key, value in pd.core.base.SelectionMixin._cython_table.items()), - key=lambda x: x[0].__class__.__name__) + key=lambda x: x[0].__name__) @pytest.fixture(params=_cython_table)