diff --git a/posthog/hogql_queries/insights/trends/test/test_trends_persons.py b/posthog/hogql_queries/insights/trends/test/test_trends_persons.py index c8d4d643b65eb..6ef3306715682 100644 --- a/posthog/hogql_queries/insights/trends/test/test_trends_persons.py +++ b/posthog/hogql_queries/insights/trends/test/test_trends_persons.py @@ -1299,8 +1299,7 @@ def test_trends_math_first_time_for_user_handles_multiple_ids(self): result = self._get_actors(trends_query=source_query, day="2020-01-12") self.assertEqual(len(result), 2) - self.assertEqual(set(result[0][0]["distinct_ids"]), {"anon3"}) - self.assertEqual(set(result[1][0]["distinct_ids"]), {"anon2", "p2"}) + self.assertCountEqual([x[0]["distinct_ids"] for x in result], (["anon3"], ["anon2", "p2"])) def test_trends_math_first_time_for_user_matches_first_event_only(self): timestamp = "2020-01-11T12:00:00Z"