runtests: drop Python 2 support remains
No binary (build failed)
—
(log yok)
| @@ -23,9 +23,6 @@ | |
| # | |
| """Server for testing SMB.""" | |
| - | from __future__ import (absolute_import, division, print_function, |
| - | unicode_literals) |
| - | |
| import argparse | |
| import logging | |
| import os | |
| @@ -33,15 +30,11 @@ import signal | |
| import sys | |
| import tempfile | |
| import threading | |
| + | import configparser |
| # Import our curl test data helper | |
| from util import ClosingFileHandler, TestData | |
| - | if sys.version_info.major >= 3: |
| - | import configparser |
| - | else: |
| - | import ConfigParser as configparser |
| - | |
| # impacket needs to be installed in the Python environment | |
| try: | |
| import impacket # noqa: F401 | |
| @@ -23,9 +23,6 @@ | |
| # | |
| """Module for extracting test data from the test data folder and other utils.""" | |
| - | from __future__ import (absolute_import, division, print_function, |
| - | unicode_literals) |
| - | |
| import logging | |
| import os | |
| import re | |