Skip to content

Commit 72ac8a5

Browse files
committed
MNT: Missed Py2 cleanups
1 parent 797841b commit 72ac8a5

File tree

5 files changed

+1
-23
lines changed

5 files changed

+1
-23
lines changed

nipype/interfaces/base/core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import sys
2222
import simplejson as json
2323
from dateutil.parser import parse as parseutc
24-
from future import standard_library
2524
from traits.trait_errors import TraitError
2625

2726
from ... import config, logging, LooseVersion

nipype/interfaces/base/tests/test_traits_extension.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
22
# vi: set ft=python sts=4 ts=4 sw=4 et:
33
"""Check the resolving/rebasing feature of ``BasePath``s."""
4-
from __future__ import print_function, unicode_literals
5-
64
from ... import base as nib
75
from ..traits_extension import rebase_path_traits, resolve_path_traits, Path
86

nipype/interfaces/slicer/generate_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def add_class_to_package(class_codes, class_names, module_name, package_dir):
3636
\"\"\"Autogenerated file - DO NOT EDIT
3737
If you spot a bug, please report it on the mailing list and/or change the generator.\"\"\"\n\n"""
3838
)
39-
imports = """from __future__ import (print_function, division, unicode_literals,
39+
imports = """\
4040
from ..base import (CommandLine, CommandLineInputSpec, SEMLikeCommandLine, TraitedSpec,
4141
File, Directory, traits, isdefined, InputMultiPath, OutputMultiPath)
4242
import os\n\n\n"""

nipype/interfaces/tests/test_auto_SEMLikeCommandLine.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from glob import glob
1717
import os
1818
from os.path import join as pjoin
19-
from io import open
2019

2120
# Commit hash writing, and dependency checking
2221
from setuptools.command.build_py import build_py

0 commit comments

Comments
 (0)