Skip to content

Commit

Permalink
Fix TemporaryDirectory crashing on py <=3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aleju committed Jan 12, 2020
1 parent 28a9be6 commit b9dbb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgaug/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class TemporaryDirectory(object):
"""

def __init__(self, suffix=None, prefix=None, dir=None):
def __init__(self, suffix="", prefix="tmp", dir=None):
# pylint: disable=redefined-builtin
self.name = tempfile.mkdtemp(suffix, prefix, dir)

Expand Down

0 comments on commit b9dbb07

Please sign in to comment.