Skip to content

tests.compliance.date.test_date_compliance.TestMethods: test_hash_pandas_object failed #185

Closed
@flaky-bot

Description

@flaky-bot

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: 614d309
buildURL: Build Status, Sponge
status: failed

Test output
self = 
data = 
[ datetime.date(1900, 1, 1),  datetime.date(1902, 1, 2),
  datetime.date(1904, 1, 3),  datetime.date(1906,...2, 19), datetime.date(2094, 2, 19),
 datetime.date(2096, 2, 20), datetime.date(2098, 2, 20)]
Length: 100, dtype: dbdate
def test_hash_pandas_object(self, data):
    # _hash_pandas_object should return a uint64 ndarray of the same length
    # as the data
    res = data._hash_pandas_object(
        encoding="utf-8",
      hash_key=pd.core.util.hashing._default_hash_key,
        categorize=False,
    )

E AttributeError: module 'pandas.core.util' has no attribute 'hashing'

.nox/compliance_prerelease/lib/python3.11/site-packages/pandas/tests/extension/base/methods.py:26: AttributeError

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-db-dtypes-pandas API.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.kokoro:force-runAdd this label to force Kokoro to re-run the tests.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions