MCPcopy Index your code
hub / github.com/msgspec/msgspec / assert_neq

Method assert_neq

tests/unit/test_struct.py:1656–1658  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

1654
1655 @staticmethod
1656 def assert_neq(a, b):
1657 assert a != b
1658 assert not a == b
1659
1660 def test_order_no_eq_errors(self):
1661 with pytest.raises(ValueError, match="Cannot set eq=False and order=True"):

Callers 3

test_struct_eq_falseMethod · 0.95
test_struct_eqMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected