File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def extras_msg(extras):
113
113
verb = "was"
114
114
else :
115
115
verb = "were"
116
- return ", " .join (repr (extra ) for extra in extras ), verb
116
+ return ", " .join (repr (extra ) for extra in sorted ( extras ) ), verb
117
117
118
118
119
119
def ensure_list (thing ):
Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ def test_unevaluated_items(self):
594
594
message = self .message_for (instance = ["foo" , "bar" ], schema = schema )
595
595
self .assertIn (
596
596
message ,
597
- "Unevaluated items are not allowed ('foo ', 'bar ' were unexpected)" ,
597
+ "Unevaluated items are not allowed ('bar ', 'foo ' were unexpected)" ,
598
598
)
599
599
600
600
def test_unevaluated_properties (self ):
@@ -609,7 +609,7 @@ def test_unevaluated_properties(self):
609
609
self .assertEqual (
610
610
message ,
611
611
"Unevaluated properties are not allowed "
612
- "('foo ', 'bar ' were unexpected)" ,
612
+ "('bar ', 'foo ' were unexpected)" ,
613
613
)
614
614
615
615
You can’t perform that action at this time.
0 commit comments