eq=False, order=True raises a meaningful ValueError.
(self)
| 2554 | assert (eq, eq) == _determine_attrs_eq_order(None, eq, None, True) |
| 2555 | |
| 2556 | def test_order_without_eq(self): |
| 2557 | """ |
| 2558 | eq=False, order=True raises a meaningful ValueError. |
| 2559 | """ |
| 2560 | with pytest.raises( |
| 2561 | ValueError, match="`order` can only be True if `eq` is True too" |
| 2562 | ): |
| 2563 | _determine_attrs_eq_order(None, False, True, True) |
| 2564 | |
| 2565 | @given(cmp=booleans(), eq=optional_bool, order=optional_bool) |
| 2566 | def test_mix(self, cmp, eq, order): |
nothing calls this directly
no test coverage detected