Skip to content

Commit 5f32cb2

Browse files
committed
fix format
1 parent 0913ad6 commit 5f32cb2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

test/geometry_test.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def test_area_update(self):
307307
self.assertEqual(c.area, math.pi * 4)
308308

309309
c.r_sqr = 100
310-
self.assertEqual(c.area, math.pi * (10 ** 2))
310+
self.assertEqual(c.area, math.pi * (10**2))
311311

312312
def test_area_invalid_value(self):
313313
"""Ensures the area handles invalid values correctly."""
@@ -1175,8 +1175,13 @@ def test_contains_argnum(self):
11751175
def test_contains_return_type(self):
11761176
"""Tests if the function returns the correct type"""
11771177
c = Circle(10, 10, 4)
1178-
items = [Circle(3, 4, 15), (0, 0), Vector2(0, 0), Rect(0, 0, 10, 10),
1179-
FRect(0, 0, 10, 10)]
1178+
items = [
1179+
Circle(3, 4, 15),
1180+
(0, 0),
1181+
Vector2(0, 0),
1182+
Rect(0, 0, 10, 10),
1183+
FRect(0, 0, 10, 10),
1184+
]
11801185

11811186
for item in items:
11821187
self.assertIsInstance(c.contains(item), bool)

0 commit comments

Comments
 (0)