diff options
author | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2016-11-06 15:08:00 -0500 |
---|---|---|
committer | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2016-11-06 15:08:00 -0500 |
commit | 6db0658e2336d6405fe1a6acd10dfab39ba8e7ff (patch) | |
tree | fefb78b5f65cc82895a465aefc803f6998f03f49 /gerber/tests | |
parent | d7a0f3ad2b62402f4af9abe2729f9a7c14814fe6 (diff) | |
download | gerbonara-6db0658e2336d6405fe1a6acd10dfab39ba8e7ff.tar.gz gerbonara-6db0658e2336d6405fe1a6acd10dfab39ba8e7ff.tar.bz2 gerbonara-6db0658e2336d6405fe1a6acd10dfab39ba8e7ff.zip |
Fix tests on python3
Diffstat (limited to 'gerber/tests')
-rw-r--r-- | gerber/tests/test_rs274x.py | 3 |
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() |