summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2020-01-05 08:02:50 +0100
committerGeorg Brandl <georg@python.org>2020-01-05 08:02:50 +0100
commit57ddd1f1f03ba0ce51eeaabfe15aa5da90574784 (patch)
tree46c79e1c34fb77ee7743e25c6dbc7ff26f9506b5 /tests
parent5f4b1d0ffe1274f8632911e0edf183995f787e41 (diff)
downloadpygments-git-py2removal.tar.gz
Remove unneeded future imports.py2removal
Diffstat (limited to 'tests')
-rw-r--r--tests/test_basic_api.py2
-rw-r--r--tests/test_cmdline.py2
-rw-r--r--tests/test_crystal.py2
-rw-r--r--tests/test_examplefiles.py2
-rw-r--r--tests/test_html_formatter.py2
-rw-r--r--tests/test_irc_formatter.py2
-rw-r--r--tests/test_latex_formatter.py2
-rw-r--r--tests/test_modeline.py2
-rw-r--r--tests/test_terminal_formatter.py2
9 files changed, 0 insertions, 18 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py
index 0bcb6989..7f71791e 100644
--- a/tests/test_basic_api.py
+++ b/tests/test_basic_api.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import random
from io import StringIO, BytesIO
from os import path
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 8392dcf6..b9b07c3c 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import io
import os
import re
diff --git a/tests/test_crystal.py b/tests/test_crystal.py
index f4909ac6..30177e41 100644
--- a/tests/test_crystal.py
+++ b/tests/test_crystal.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import unicode_literals
-
import pytest
from pygments.token import Text, Operator, Keyword, Name, String, Number, \
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index 491c1e0d..2486f876 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import os
import pprint
import difflib
diff --git a/tests/test_html_formatter.py b/tests/test_html_formatter.py
index 3001a722..83b08e1f 100644
--- a/tests/test_html_formatter.py
+++ b/tests/test_html_formatter.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import io
import os
import re
diff --git a/tests/test_irc_formatter.py b/tests/test_irc_formatter.py
index af950730..af90731e 100644
--- a/tests/test_irc_formatter.py
+++ b/tests/test_irc_formatter.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
from io import StringIO
from pygments.lexers import PythonLexer
diff --git a/tests/test_latex_formatter.py b/tests/test_latex_formatter.py
index 7ab0d7d0..2a1c911e 100644
--- a/tests/test_latex_formatter.py
+++ b/tests/test_latex_formatter.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import os
import tempfile
from os import path
diff --git a/tests/test_modeline.py b/tests/test_modeline.py
index b1206949..4d85a436 100644
--- a/tests/test_modeline.py
+++ b/tests/test_modeline.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
from pygments import modeline
diff --git a/tests/test_terminal_formatter.py b/tests/test_terminal_formatter.py
index 0367f941..02076f19 100644
--- a/tests/test_terminal_formatter.py
+++ b/tests/test_terminal_formatter.py
@@ -7,8 +7,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import re
from io import StringIO