diff --git a/tests/test_direct_api.py b/tests/test_direct_api.py index 373d3415..e34c065a 100644 --- a/tests/test_direct_api.py +++ b/tests/test_direct_api.py @@ -2993,7 +2993,7 @@ def test_group_by_str_repr(self): " ]]", ] - self.assertDunderStrEqual(nonagon.edges().group_by(Axis.X), expected) + self.assertDunderStrEqual(str(nonagon.edges().group_by(Axis.X)), expected) expected_repr = ( "[[],"