Skip to content

TST: Use stronger assertion in pandas/tests/groupby/test_allowlist.py::test_regression_allowlist_methods #49629

Closed
@mroeschke

Description

@mroeschke

Before #49611, test_regression_allowlist_methods was a comprehensive groupby test that asserted frame.groupby(...).op(...) was equivalent to frame.op(level=..., ...). Now that level has been removed, this test should ideally have a stronger assertion than current testing that a DataFrame is returned; ideally using tm.assert_frame_equal

Metadata

Metadata

Assignees

No one assigned

    Labels

    GroupbyTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions