← Commit list

4c76cdc157

Viktor Szakats
Viktor Szakats
2025-11-16
SUCCESS Duration: 147s

Subject

runtests: drop Python 2 support remains

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/smbserver.py+1 -8
@@ -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
tests/util.py+0 -3
@@ -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