From 57c8ef4057c1e7cd34f0feae83e052781fe5a434 Mon Sep 17 00:00:00 2001 From: Dawid Makar Date: Wed, 27 Sep 2023 01:03:08 +0200 Subject: [PATCH] Automatic refactoring. Refactoring step id: UUID('7ea82827-7eb5-4bca-a042-e0227e2ca284') --- pandas/tests/extension/base/methods.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pandas/tests/extension/base/methods.py b/pandas/tests/extension/base/methods.py index 9c699f01944e5..1ef3f3f7f2143 100644 --- a/pandas/tests/extension/base/methods.py +++ b/pandas/tests/extension/base/methods.py @@ -21,10 +21,10 @@ class BaseMethodsTests(BaseExtensionTests): def test_hash_pandas_object(self, data): # _hash_pandas_object should return a uint64 ndarray of the same length # as the data - from pandas.core.util.hashing import _default_hash_key - res = data._hash_pandas_object( - encoding="utf-8", hash_key=_default_hash_key, categorize=False + encoding="utf-8", + hash_key=pd.core.util.hashing._default_hash_key, + categorize=False, ) assert res.dtype == np.uint64 assert res.shape == data.shape @@ -623,4 +623,4 @@ def test_equals(self, data, na_value, as_series, box): # other types assert data.equals(None) is False - assert data[[0]].equals(data[0]) is False + assert data[[0]].equals(data[0]) is False \ No newline at end of file