mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:37:16 +03:00
runtests: drop Python 2 support remains
Used in the test SMB and telnet servers. Closes #19544
This commit is contained in:
parent
6225d7ba2f
commit
4c76cdc157
2 changed files with 1 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue