Remove redundant open() flags
This commit is contained in:
parent
9141483527
commit
de3d930421
2 changed files with 2 additions and 2 deletions
|
|
@ -2736,7 +2736,7 @@ class EmbedRasters(unittest.TestCase):
|
|||
"Raster image from local path '" + href + "' not embedded.")
|
||||
|
||||
def test_raster_paths_local_absolute(self):
|
||||
with open('unittests/raster-formats.svg', 'r') as f:
|
||||
with open('unittests/raster-formats.svg') as f:
|
||||
svg = f.read()
|
||||
|
||||
# create a reference string by scouring the original file with relative links
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue