summaryrefslogtreecommitdiff
path: root/gerber/tests/test_rs274x.py
diff options
context:
space:
mode:
authorGarret Fick <garret@fickworkshop.com>2016-11-11 15:54:42 +0800
committerGitHub <noreply@github.com>2016-11-11 15:54:42 +0800
commit1e868763a1c4030bedd51553468cbe25f272bef9 (patch)
tree59cef68f1449a5be8d2a9a8ed352e3d9974a3edb /gerber/tests/test_rs274x.py
parent5af19af190c1fb0f0c5be029d46d63e657dde4d9 (diff)
parent60d08dc8ad72f5bb0a14d4821451d7dce20b9639 (diff)
downloadgerbonara-1e868763a1c4030bedd51553468cbe25f272bef9.tar.gz
gerbonara-1e868763a1c4030bedd51553468cbe25f272bef9.tar.bz2
gerbonara-1e868763a1c4030bedd51553468cbe25f272bef9.zip
Merge pull request #5 from hamiltonkibbe/merge-curtacircuitos
Merge curtacircuitos
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()