From 5dd0176973a4b79530c61658f76ee2b42c5e811c Mon Sep 17 00:00:00 2001 From: "Joe S. Boyle" Date: Mon, 6 Mar 2023 21:03:41 +0000 Subject: [PATCH] Remove the unused import 'warnings' from unittest's loader module Warnings is lazily imported in this file prior to use. --- Lib/unittest/loader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/unittest/loader.py b/Lib/unittest/loader.py index 80d4fbdd8e3606..b989284a640e14 100644 --- a/Lib/unittest/loader.py +++ b/Lib/unittest/loader.py @@ -6,7 +6,6 @@ import traceback import types import functools -import warnings from fnmatch import fnmatch, fnmatchcase