Skip to content

Commit 95225f8

Browse files
committed
chore(py3): remove outdated python2 utf8 import
1 parent 45c501b commit 95225f8

23 files changed

+1
-23
lines changed

exhale/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# https://github.com/svenevs/exhale/blob/master/LICENSE #
66
########################################################################################
77

8-
from __future__ import unicode_literals
98

109
__version__ = "0.3.8.dev"
1110

exhale/configs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
options are to modify the behavior of Exhale.
4040
'''
4141

42-
from __future__ import unicode_literals
4342

4443
import os
4544
import six

exhale/deploy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
2. Launching the full API generation via the :func:`~exhale.deploy.explode` function.
1313
'''
1414

15-
from __future__ import unicode_literals
1615

1716
from . import configs
1817
from . import utils

exhale/graph.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# https://github.com/svenevs/exhale/blob/master/LICENSE #
66
########################################################################################
77

8-
from __future__ import unicode_literals
98

109
from . import configs
1110
from . import parse

exhale/parse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# https://github.com/svenevs/exhale/blob/master/LICENSE #
66
########################################################################################
77

8-
from __future__ import unicode_literals
98

109
from . import configs
1110
from . import utils

exhale/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# https://github.com/svenevs/exhale/blob/master/LICENSE #
66
########################################################################################
77

8-
from __future__ import unicode_literals, annotations
8+
from __future__ import annotations
99
from typing import TextIO, Union
1010

1111
from . import configs

testing/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
The testing package for Exhale.
99
"""
1010

11-
from __future__ import unicode_literals
1211
import os
1312

1413

testing/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
All project based test cases should inherit from :class:`testing.base.ExhaleTestCase`.
1111
"""
1212

13-
from __future__ import unicode_literals
1413
import os
1514
import platform
1615
import re

testing/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
__ https://docs.pytest.org/en/latest/example/simple.html#package-directory-level-fixtures-setups
1313
"""
1414

15-
from __future__ import unicode_literals
1615

1716
pytest_plugins = [
1817
"sphinx.testing.fixtures",

testing/decorators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
The decorators module defines useful class / function decorators for test cases.
99
"""
1010

11-
from __future__ import unicode_literals
1211
from copy import deepcopy
1312
from inspect import isclass
1413

testing/fixtures.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"""
88
Provides fixtures to be available for all test cases.
99
"""
10-
from __future__ import unicode_literals
1110
from exhale import deploy
1211
import pytest
1312

testing/hierarchies.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
:func:`~testing.hierarchies.compare_file_hierarchy`.
2222
"""
2323

24-
from __future__ import unicode_literals
2524
import codecs
2625
import os
2726
import platform

testing/tests/c_maths.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``c_maths`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211
import os
1312

1413
from testing.base import ExhaleTestCase

testing/tests/configs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"""
88
Tests for validating error handling with configs set in ``conf.py``.
99
"""
10-
from __future__ import unicode_literals
1110
import re
1211
import textwrap
1312
from pathlib import Path

testing/tests/configs_tree_view.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"""
88
Tests specifically focused on the various tree view configurations.
99
"""
10-
from __future__ import unicode_literals
1110

1211
import os
1312
import re

testing/tests/cpp_dir_underscores.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``cpp_dir_underscores`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211
import os
1312

1413
from testing.base import ExhaleTestCase

testing/tests/cpp_fortran_mixed.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``cpp_fortran_mixed`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211
import os
1312
import platform
1413
import re

testing/tests/cpp_func_overloads.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``cpp_func_overloads`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211

1312
from testing.base import ExhaleTestCase
1413
from testing.decorators import no_cleanup

testing/tests/cpp_long_names.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``cpp_long_names`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211
import hashlib
1312
import os
1413
import platform

testing/tests/cpp_nesting.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``cpp_nesting`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211

1312
import os.path as osp
1413
import re

testing/tests/cpp_pimpl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``cpp_nesting`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211

1312
import os
1413
import re

testing/tests/cpp_with_spaces.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Tests for the ``cpp_with_spaces`` project.
99
"""
1010

11-
from __future__ import unicode_literals
1211

1312
from testing.base import ExhaleTestCase
1413
from testing.decorators import no_cleanup

testing/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Utility functionality for the testing suite.
99
"""
1010

11-
from __future__ import unicode_literals
1211
try:
1312
from collections.abc import Mapping
1413
except ImportError:

0 commit comments

Comments
 (0)