summaryrefslogtreecommitdiff
path: root/gerber/tests/test_rs274x.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/tests/test_rs274x.py')
-rw-r--r--gerber/tests/test_rs274x.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gerber/tests/test_rs274x.py b/gerber/tests/test_rs274x.py
index d5acfe8..4c69446 100644
--- a/gerber/tests/test_rs274x.py
+++ b/gerber/tests/test_rs274x.py
@@ -39,10 +39,9 @@ def test_size_parameter():
def test_conversion():
- import copy
top_copper = read(TOP_COPPER_FILE)
assert_equal(top_copper.units, 'inch')
- top_copper_inch = copy.deepcopy(top_copper)
+ top_copper_inch = read(TOP_COPPER_FILE)
top_copper.to_metric()
for statement in top_copper_inch.statements:
statement.to_metric()