summaryrefslogtreecommitdiff
path: root/gerbonara/tests/test_rs274x.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/tests/test_rs274x.py')
-rw-r--r--gerbonara/tests/test_rs274x.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/tests/test_rs274x.py b/gerbonara/tests/test_rs274x.py
index 0807bfd..2fb51d9 100644
--- a/gerbonara/tests/test_rs274x.py
+++ b/gerbonara/tests/test_rs274x.py
@@ -336,7 +336,7 @@ def test_rotation_center(reference, angle, center, tmpfile):
tmp_gbr = tmpfile('Output gerber', '.gbr')
f = GerberFile.open(reference)
- f.rotate(math.radians(angle), center=center)
+ f.rotate(math.radians(angle), *center)
f.save(tmp_gbr)
# calculate circle center in SVG coordinates
@@ -379,7 +379,7 @@ def test_combined(reference, angle, center, offset, tmpfile):
tmp_gbr = tmpfile('Output gerber', '.gbr')
f = GerberFile.open(reference)
- f.rotate(math.radians(angle), center=center)
+ f.rotate(math.radians(angle), *center)
f.offset(*offset)
f.save(tmp_gbr, settings=FileSettings(unit=f.unit, number_format=(4,7)))