mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 19:15:15 +08:00
BUG: Fix nondeterministic failure from sorting.
This commit is contained in:
@@ -264,7 +264,7 @@ class PreprocessTestCase(TestCase):
|
||||
" for argument 'a', but got 'c' instead."
|
||||
).format(
|
||||
# We special-case set to show a tuple instead of the set repr.
|
||||
set_=tuple(set_),
|
||||
set_=tuple(sorted(set_)),
|
||||
qualname=qualname(f),
|
||||
)
|
||||
self.assertEqual(e.exception.args[0], expected_message)
|
||||
|
||||
Reference in New Issue
Block a user