test_direct_api.py -> add missing str() call for tests

This commit is contained in:
jdegenstein 2024-02-21 10:22:16 -06:00 committed by GitHub
parent 88586e43ba
commit 88829baff4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2993,7 +2993,7 @@ class TestShapeList(DirectApiTestCase):
" <build123d.topology.Edge at 0x1277fec6d90>]]",
]
self.assertDunderStrEqual(nonagon.edges().group_by(Axis.X), expected)
self.assertDunderStrEqual(str(nonagon.edges().group_by(Axis.X)), expected)
expected_repr = (
"[[<build123d.topology.Edge object at 0x000001277FEC6D90>],"