@@ -2363,7 +2363,7 @@ def test_order_without_eq(self):
23632363 eq=False, order=True raises a meaningful ValueError.
23642364 """
23652365 with pytest .raises (
2366- ValueError , match = "`order` can only be True if `eq` is True too. "
2366+ ValueError , match = "`order` can only be True if `eq` is True too"
23672367 ):
23682368 _determine_attrs_eq_order (None , False , True , True )
23692369
@@ -2375,7 +2375,7 @@ def test_mix(self, cmp, eq, order):
23752375 assume (eq is not None or order is not None )
23762376
23772377 with pytest .raises (
2378- ValueError , match = "Don't mix `cmp` with `eq' and `order`. "
2378+ ValueError , match = "Don't mix `cmp` with `eq' and `order`"
23792379 ):
23802380 _determine_attrs_eq_order (cmp , eq , order , True )
23812381
@@ -2430,7 +2430,7 @@ def test_order_without_eq(self):
24302430 eq=False, order=True raises a meaningful ValueError.
24312431 """
24322432 with pytest .raises (
2433- ValueError , match = "`order` can only be True if `eq` is True too. "
2433+ ValueError , match = "`order` can only be True if `eq` is True too"
24342434 ):
24352435 _determine_attrib_eq_order (None , False , True , True )
24362436
@@ -2442,7 +2442,7 @@ def test_mix(self, cmp, eq, order):
24422442 assume (eq is not None or order is not None )
24432443
24442444 with pytest .raises (
2445- ValueError , match = "Don't mix `cmp` with `eq' and `order`. "
2445+ ValueError , match = "Don't mix `cmp` with `eq' and `order`"
24462446 ):
24472447 _determine_attrib_eq_order (cmp , eq , order , True )
24482448
0 commit comments