From 39dc38d4f673fcd63f42c78a4bd7b3435496554c Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 25 Mar 2026 18:12:09 -0500 Subject: [PATCH] Less wordy comment --- tests/rest/client/test_rooms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/rest/client/test_rooms.py b/tests/rest/client/test_rooms.py index 34c8356bc6..f8a0425b12 100644 --- a/tests/rest/client/test_rooms.py +++ b/tests/rest/client/test_rooms.py @@ -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),