summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/tests/test_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/tests/test_common.py')
-rw-r--r--gerbonara/gerber/tests/test_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/gerber/tests/test_common.py b/gerbonara/gerber/tests/test_common.py
index a6b1264..e4c023c 100644
--- a/gerbonara/gerber/tests/test_common.py
+++ b/gerbonara/gerber/tests/test_common.py
@@ -24,9 +24,9 @@ def test_file_type_detection():
def test_load_from_string():
- with open(NCDRILL_FILE, "rU") as f:
+ with open(NCDRILL_FILE, "r") as f:
ncdrill = loads(f.read())
- with open(TOP_COPPER_FILE, "rU") as f:
+ with open(TOP_COPPER_FILE, "r") as f:
top_copper = loads(f.read())
assert isinstance(ncdrill, ExcellonFile)
assert isinstance(top_copper, GerberFile)