Skip to content
Open
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
8 changes: 4 additions & 4 deletions pandas/tests/extension/base/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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