Skip to content

Commit

Permalink
RF: use native versions of callable, io classes
Browse files Browse the repository at this point in the history
Use native versions rather using using versions from 'six'.
  • Loading branch information
matthew-brett committed Feb 12, 2017
1 parent 78c9b61 commit 38d8235
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nibabel/benchmarks/bench_load_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import numpy as np

from six import BytesIO
from io import BytesIO

from .. import Nifti1Image

Expand Down
2 changes: 1 addition & 1 deletion nibabel/gifti/parse_gifti_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import sys
import warnings
import zlib
from six import StringIO
from io import StringIO
from xml.parsers.expat import ExpatError

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion nibabel/optpkg.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Routines to support optional packages """
from distutils.version import LooseVersion

from six import string_types, callable
from six import string_types

try:
import nose
Expand Down

0 comments on commit 38d8235

Please sign in to comment.