summaryrefslogtreecommitdiff
path: root/gerber/tests/test_rs274x.py
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2016-11-16 23:54:09 -0200
committerGitHub <noreply@github.com>2016-11-16 23:54:09 -0200
commit521fe89150c6aaa0ff0954cc8d32e4b6f8009324 (patch)
tree59cef68f1449a5be8d2a9a8ed352e3d9974a3edb /gerber/tests/test_rs274x.py
parent7030eee5e28180732c5cf98aeda4b66657223870 (diff)
parent1e868763a1c4030bedd51553468cbe25f272bef9 (diff)
downloadgerbonara-521fe89150c6aaa0ff0954cc8d32e4b6f8009324.tar.gz
gerbonara-521fe89150c6aaa0ff0954cc8d32e4b6f8009324.tar.bz2
gerbonara-521fe89150c6aaa0ff0954cc8d32e4b6f8009324.zip
Merge pull request #58 from garretfick/merge-curtacircuitos
Epic merge from @garretfick Thanks a lot @garretfick and @hamiltonkibbe.
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()