Commit 15f79fb9 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Under python <= 3.4, mkdtemp(suffix=None) doesn't work.

parent 2e832fb7
......@@ -94,7 +94,7 @@ class CaptureStdout(object):
def testdir(contents=None, suffix=None):
def testdir(contents=None, suffix=""):
"""Returnsa context manager which creates, changes to, and returns a
temporary directory, and then deletes it on exit.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment