Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test_bin_op in NumPy 2.0 (#5541)
`_set_promotion_state` is removed in NumPy 2.0. We just turn the contextmanager into a noop when the user has a newer NumPy version. I tested this locally. At some point we should add NumPy 2.0 support to CI, I guess.
- Loading branch information