Skip to content

Commit 1d7f2fb

Browse files
authored
Remove spaces from pytest parametrize
1 parent 791aa9e commit 1d7f2fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/compas/geometry/test_polyline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ def test_polyline_divide_length_strict2(coords, expected):
3838
assert expected == Polyline(coords).divide_polyline_by_length(80, False)
3939

4040

41-
@pytest.mark.parametrize('coords, input, expected', [
41+
@pytest.mark.parametrize('coords,input,expected', [
4242
([[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [1.0, 1.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 0.0]], math.pi/2, [Polyline([[0.0, 0.0, 0.0], [1, 0.0, 0.0]]),
4343
Polyline([[1, 0.0, 0.0], [1, 1, 0.0]]), Polyline([[1, 1, 0.0], [0.0, 1, 0.0]]), Polyline([[0.0, 1, 0.0], [0.0, 0.0, 0.0]])]),
4444
])
4545
def test_polyline_split_at_corners(coords, input, expected):
4646
assert expected == Polyline(coords).split_at_corners(input)
4747

4848

49-
@pytest.mark.parametrize('coords, input, expected', [
49+
@pytest.mark.parametrize('coords,input,expected', [
5050
([[0.0, 0.0, 0.0], [100.0, 0.0, 0.0]], [50, 0, 0], [1.0, 0.0, 0.0]),
5151
([[0.0, 0.0, 0.0], [50.0, 0.0, 0.0], [100.0, 100.0, 0.0]], [50, 0, 0], [1.0, 0.0, 0.0]),
5252
])

0 commit comments

Comments
 (0)