BUG: Fix nondeterministic failure from sorting.

This commit is contained in:
Scott Sanderson
2016-08-17 19:29:57 -04:00
parent 6006aedeef
commit 8cc8814b5f
+1 -1
View File
@@ -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)