Skip to content

CLN: resolve isort mypy import confilict test_algos #35339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pandas/tests/test_algos.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
from numpy.random import RandomState
import pytest

from pandas._libs import algos as libalgos, groupby as libgroupby, hashtable as ht
from pandas._libs import algos as libalgos, hashtable as ht
from pandas._libs.groupby import group_var_float32, group_var_float64
from pandas.compat.numpy import np_array_datetime64_compat
import pandas.util._test_decorators as td

Expand Down Expand Up @@ -1493,7 +1494,7 @@ def test_group_var_constant(self):
class TestGroupVarFloat64(GroupVarTestMixin):
__test__ = True

algo = staticmethod(libgroupby.group_var_float64)
algo = staticmethod(group_var_float64)
dtype = np.float64
rtol = 1e-5

Expand All @@ -1516,7 +1517,7 @@ def test_group_var_large_inputs(self):
class TestGroupVarFloat32(GroupVarTestMixin):
__test__ = True

algo = staticmethod(libgroupby.group_var_float32)
algo = staticmethod(group_var_float32)
dtype = np.float32
rtol = 1e-2

Expand Down