diff options
author | jaseg <git@jaseg.de> | 2021-06-13 15:13:29 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-06-13 15:13:29 +0200 |
commit | 4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c (patch) | |
tree | 9b491f11c2c77c5e8de8b74eed75162838c5dbf5 /gerbonara/gerber/tests/test_common.py | |
parent | 83e498b8917e0b3287871c27a4acc95634acab2e (diff) | |
download | gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.tar.gz gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.tar.bz2 gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.zip |
Make pcb-tools pytest pass without warnings
Diffstat (limited to 'gerbonara/gerber/tests/test_common.py')
-rw-r--r-- | gerbonara/gerber/tests/test_common.py | 4 |
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) |