Merge pull request #4901 from radarhere/lint

Lint fix
This commit is contained in:
Hugo van Kemenade 2020-09-05 08:05:21 +03:00 committed by GitHub
commit 4a143ba857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1175,8 +1175,20 @@ def test_compute_regular_polygon_vertices(n_sides, expected_vertices):
ValueError,
"bounding_circle centre should contain 2D coordinates (e.g. (x, y))",
),
(3, (50, 50, 0), 0, ValueError, "bounding_circle radius should be > 0",),
(3, (50, 50, 25), "0", ValueError, "rotation should be an int or float",),
(
3,
(50, 50, 0),
0,
ValueError,
"bounding_circle radius should be > 0",
),
(
3,
(50, 50, 25),
"0",
ValueError,
"rotation should be an int or float",
),
],
)
def test_compute_regular_polygon_vertices_input_error_handling(