Blob Blame History Raw
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Fedora Python maintainers <python-devel@lists.fedoraproject.org>
Date: Wed, 15 Jul 2020 15:42:43 +0200
Subject: [PATCH] 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 703b631c175..337a99d0173 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')