Less wordy comment

This commit is contained in:
Eric Eastwood
2026-03-25 18:12:09 -05:00
parent 54dc2bed3d
commit 39dc38d4f6
+3 -3
View File
@@ -2516,9 +2516,9 @@ class RoomMessageListTestCase(RoomBase):
"foo",
# "old history",
]
# Because the `assertEquals` assertion to assert exact order gives horrible diff
# output when it fails, let's use `assertIncludes` as a first step to sanity
# check everything is there before we assert the exact order.
# Because `assertEquals` produces a confusing diff on failure, let's first use
# `assertIncludes` as a first step to sanity check everything is there before we
# assert the exact order.
self.assertIncludes(
set(actual_messages),
set(expected_messages),