From af08dc6280f74f92ee1eccc7b2282b41ca99794a Mon Sep 17 00:00:00 2001 From: Fedora Python maintainers Date: Wed, 15 Jul 2020 15:42:43 +0200 Subject: 00191-disable-NOOP.patch 00191 # Disabling NOOP test as it fails without internet connection --- Lib/test/test_smtplib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index 703b631..337a99d 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -182,6 +182,7 @@ class DebuggingServerTests(unittest.TestCase): smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15) smtp.quit() + @unittest._skipInRpmBuild("Does not work in network-free environment") def testNOOP(self): smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15) expected = (250, 'Ok') -- cgit v0.12