Skip to content
Snippets Groups Projects
Commit c1d9e2ec authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

make logging quiet when running tests

parent d6e18518
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ import sys ...@@ -12,6 +12,7 @@ import sys
import glob import glob
import shutil import shutil
import tempfile import tempfile
import logging
import contextlib import contextlib
import itertools as it import itertools as it
import os.path as op import os.path as op
...@@ -23,6 +24,9 @@ from six import StringIO ...@@ -23,6 +24,9 @@ from six import StringIO
import fsl.data.image as fslimage import fsl.data.image as fslimage
logging.getLogger().setLevel(logging.WARNING)
@contextlib.contextmanager @contextlib.contextmanager
def tempdir(): def tempdir():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment