Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
15f79fb9
Commit
15f79fb9
authored
Feb 28, 2018
by
Paul McCarthy
🚵
Browse files
Under python <= 3.4, mkdtemp(suffix=None) doesn't work.
parent
2e832fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/__init__.py
View file @
15f79fb9
...
...
@@ -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.
"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment