Skip to content

Commit d5544c0

Browse files
baehrjogonzalocasas
authored andcommitted
lint check
1 parent bb22a78 commit d5544c0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/compas/geometry/test_core.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,7 @@ def test_area_polygon():
237237
)
238238
assert area_polygon(polygon) >= 0
239239
# the same polygon with vertices list shifted by 3 positions :
240-
polygon_ = Polygon(
241-
[Point(0, -2, 0), Point(0, -6, 0), Point(-4, -10, 0), Point(-7, -15, 0), Point(-5, 9, 0), Point(13, 0, 0)]
242-
)
240+
polygon_ = Polygon(polygon[3:] + polygon[:3])
243241
assert area_polygon(polygon_) >= 0
244242

245243

0 commit comments

Comments
 (0)