summaryrefslogtreecommitdiff
path: root/gerbonara/rs274x.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-02-21 22:48:14 +0100
committerjaseg <git@jaseg.de>2023-02-21 22:48:14 +0100
commit6231f67139f64e71fdb0893d86ff3308572d46d8 (patch)
treef788f0711c158c327b038f69f13975ff0fbf75ab /gerbonara/rs274x.py
parent9a6bc691cb0fa96d50a93e6bce60161a4fc6940d (diff)
downloadgerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.tar.gz
gerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.tar.bz2
gerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.zip
Fix tests
Diffstat (limited to 'gerbonara/rs274x.py')
-rw-r--r--gerbonara/rs274x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/rs274x.py b/gerbonara/rs274x.py
index 3d28cc6..3efb825 100644
--- a/gerbonara/rs274x.py
+++ b/gerbonara/rs274x.py
@@ -88,7 +88,7 @@ class GerberFile(CamFile):
# dedup apertures
new_apertures = {}
replace_apertures = {}
- mock_settings = FileSettings()
+ mock_settings = FileSettings.defaults()
for ap in self.apertures + other.apertures:
gbr = ap.to_gerber(mock_settings)
if gbr not in new_apertures: