python2/00191-disable-NOOP.patch
Charalampos Stratakis 202761631b Update to Python 2.7.13
Refactored patches: 10, 102 112, 167, 180, 191

Dropped patches: 184, 200, 209, 242, 247
2017-01-11 20:31:31 +01:00

13 lines
552 B
Diff

diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py
index 1bb6690..28ed25d 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')