File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 2323tmpfile = tempfile .NamedTemporaryFile (suffix = '.pdf' , \
2424 prefix = 'textAsPathsFalse' , delete = True )
2525x .pdf (tmpfile .name , textAsPaths = False )
26- tmpfile .close ()
26+ # tmpfile.close()
2727
2828tmpfile = tempfile .NamedTemporaryFile (suffix = '.pdf' , \
2929 prefix = 'textAsPathsTrue' , delete = True )
3838tmpfile = tempfile .NamedTemporaryFile (suffix = '.svg' , \
3939 prefix = 'textAsPathsTrue' , delete = True )
4040x .pdf (tmpfile .name , textAsPaths = True )
41+ tmpfile .close ()
42+
43+ tmpfile = tempfile .NamedTemporaryFile (suffix = '.eps' , \
44+ prefix = 'textAsPathsFalse' , delete = True )
45+ x .pdf (tmpfile .name , textAsPaths = False )
46+ tmpfile .close ()
47+
48+ tmpfile = tempfile .NamedTemporaryFile (suffix = '.eps' , \
49+ prefix = 'textAsPathsTrue' , delete = True )
50+ x .pdf (tmpfile .name , textAsPaths = True )
4151tmpfile .close ()
You can’t perform that action at this time.
0 commit comments