From 15f79fb9ffde7e579dd4c70f8cf92a738cd6c3ef Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Wed, 28 Feb 2018 10:46:15 +0000
Subject: [PATCH] Under python <= 3.4, mkdtemp(suffix=None) doesn't work.

---
 tests/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/__init__.py b/tests/__init__.py
index 94c97dc5f..13d510658 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -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.
     """
-- 
GitLab