diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index 05d97ef4b7e..18dde2f4406 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -9,6 +9,7 @@ import re import sys import time import select +import errno import unittest from test import support, mock_socket diff --git a/Misc/NEWS b/Misc/NEWS index fd4abd88c8f..fce13970b25 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -196,6 +196,8 @@ Extension Modules Tests ----- +- Issue #14442: Add missing errno import in test_smtplib. + - Issue #8315: (partial fix) python -m unittest test.test_email now works.