use NamedTemporaryFile wherever mktemp is used
Opened this issue · 0 comments
mmckerns commented
filename = mktemp(**kwds)
is deprecated, and should be replaced with:
filename = NamedTemporaryFile(delete=True, **kwds).name
Opened this issue · 0 comments
filename = mktemp(**kwds)
is deprecated, and should be replaced with:
filename = NamedTemporaryFile(delete=True, **kwds).name