summaryrefslogtreecommitdiff
path: root/gerbonara/tests/test_excellon.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-04 22:10:19 +0100
committerjaseg <git@jaseg.de>2022-02-04 22:10:19 +0100
commit4cbda84aa61158c06acc78aac4b318bbea5b6214 (patch)
tree7b5724b019324bbadd862076ece399a73a670b90 /gerbonara/tests/test_excellon.py
parenteaf4f21ce65081da0490a41ee1829b4ec8319109 (diff)
downloadgerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.tar.gz
gerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.tar.bz2
gerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.zip
More doc, fix tests
Diffstat (limited to 'gerbonara/tests/test_excellon.py')
-rw-r--r--gerbonara/tests/test_excellon.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/gerbonara/tests/test_excellon.py b/gerbonara/tests/test_excellon.py
index 2d2b32a..3b0418d 100644
--- a/gerbonara/tests/test_excellon.py
+++ b/gerbonara/tests/test_excellon.py
@@ -131,8 +131,6 @@ def test_gerber_alignment(reference, tmpfile, print_on_error):
for obj in gerf.objects:
if isinstance(obj, Flash):
x, y = obj.unit.convert_to(MM, obj.x), obj.unit.convert_to(MM, obj.y)
- if abs(x - 121.525) < 2 and abs(y - 64) < 2:
- print(obj)
flash_coords.append((x, y))
tree = KDTree(flash_coords, copy_data=True)
@@ -144,10 +142,6 @@ def test_gerber_alignment(reference, tmpfile, print_on_error):
if obj.plated in (True, None):
total += 1
x, y = obj.unit.convert_to(MM, obj.x), obj.unit.convert_to(MM, obj.y)
- print((x, y), end=' ')
- if abs(x - 121.525) < 2 and abs(y - 64) < 2:
- print(obj)
- print(' ', tree.query_ball_point((x, y), r=tolerance))
if tree.query_ball_point((x, y), r=tolerance):
matches += 1