From e06cf177e7810bfba2e2fb39159529d112f2a5dc Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Wed, 28 Aug 2024 15:07:27 -0400 Subject: [PATCH] Tests: remove unused Python modules from freshclam tests The 'cgi' module is deprecrated and will be removed in Python 3.13. We weren't using it anyways. Fixes: https://github.com/Cisco-Talos/clamav/issues/1327 --- unit_tests/freshclam_test.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/unit_tests/freshclam_test.py b/unit_tests/freshclam_test.py index bec400f6aa..78de30c028 100644 --- a/unit_tests/freshclam_test.py +++ b/unit_tests/freshclam_test.py @@ -10,14 +10,10 @@ from pathlib import Path import platform import shutil -import subprocess -import sys -import time import unittest from functools import partial from http.server import HTTPServer, BaseHTTPRequestHandler -import cgi import testcase