[Python-checkins] Remove unused import of `warnings` from `unittest.loader` (#102479)

AlexWaygood webhook-mailer at python.org
Mon Mar 6 17:02:27 EST 2023


https://github.com/python/cpython/commit/c84e6f32df989908685ea8b6cd49ddde9f428524
commit: c84e6f32df989908685ea8b6cd49ddde9f428524
branch: main
author: JosephSBoyle <48555120+JosephSBoyle at users.noreply.github.com>
committer: AlexWaygood <Alex.Waygood at Gmail.com>
date: 2023-03-06T22:02:19Z
summary:

Remove unused import of `warnings` from `unittest.loader` (#102479)

files:
M Lib/unittest/loader.py

diff --git a/Lib/unittest/loader.py b/Lib/unittest/loader.py
index 80d4fbdd8e36..b989284a640e 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
 



More information about the Python-checkins mailing list