Skip to content

Nightly Hypothesis tests failed #8984

Closed

Description

@github-actions

Workflow Run URL

Python 3.12 Test Summary
properties/test_index_manipulation.py::DatasetTest::runTest: DeprecationWarning: Deleting a single level of a MultiIndex is deprecated. Previously, this deleted all levels of a MultiIndex. Please also drop the following variables: {'2'} to avoid an error in the future.
Falsifying example:
state = DatasetStateMachine()
state.init_ds(var=Variable(data=array([''], dtype='<U1'), dims=['4'], attrs={}))
state.assert_invariants()
Draw 1: ['4']
> stacking ['4'] as 3
state.stack(create_index=False, data=data(...), newname='3')
state.assert_invariants()
Draw 2: ['3']
> drop_dims: ['3']
state.drop_dims(data=data(...))
state.assert_invariants()
assign_coords: 0
state.assign_coords(var=Variable(data=array([0], dtype=int32), dims=['0'], attrs={}))
state.assert_invariants()
Draw 3: ['0']
> stacking ['0'] as 2
state.stack(create_index=True, data=data(...), newname='2')
state.assert_invariants()
Draw 4: '2'
> renaming 2 to 1
state.rename_vars(data=data(...), newname='1')
state.assert_invariants()
Draw 5: ['2']
> drop_dims: ['2']
state.drop_dims(data=data(...))
state.teardown()
Explanation:
    These lines were always and only run by failing examples:
        /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/algorithms.py:130
        /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/algorithms.py:132
        /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/algorithms.py:135
        /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/algorithms.py:200
        /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/algorithms.py:204
        (and 95 more with settings.verbosity >= verbose)

You can reproduce this example by temporarily adding @reproduce_failure('6.112.1', b'AXicY2BgZWBgYGRgYQADDhCbGcRiYgCLIwCMzcHAyAiRZQeKgSCIBwAHkwAz') as a decorator on your test case

Activity

  1. added
    topic-hypothesis
    on Apr 30, 2024
  2. added a commit that references this issue on Sep 17, 2024
    a97e43f
  3. added a commit that references this issue on Sep 17, 2024
    1c6300c
  4. added a commit that references this issue on Sep 23, 2024
    5026013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-hypothesis

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions