Skip to content

Commit

Permalink
Fix failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaseg committed Nov 14, 2023
1 parent 8e8bcee commit 2384f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gerbolyze/tests/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
#s -*- coding: utf-8 -*-
#
# Copyright 2022 Jan Götte <[email protected]>
#
Expand Down Expand Up @@ -109,7 +109,7 @@ def test_convert_layers():
'bottom silk': 0.160,
'bottom paste': 0.170,
'mechanical outline': 0.09}.items():
assert set(round(ap.diameter, 4) for ap in stack[layer].apertures) == {dia}
assert set(round(ap.diameter, 4) for ap in stack[layer].apertures()) == {dia}

# Note: svg-flatten rounds these diameters to the geometric tolerance given on the command line (0.01mm by
# default).
Expand Down

0 comments on commit 2384f4f

Please sign in to comment.