churchyard / rpms / python2

Forked from rpms/python2 6 years ago
Clone
112f643
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py
2027616
index 1bb6690..28ed25d 100644
112f643
--- a/Lib/test/test_smtplib.py
112f643
+++ b/Lib/test/test_smtplib.py
112f643
@@ -182,6 +182,7 @@ class DebuggingServerTests(unittest.TestCase):
2027616
         smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
112f643
         smtp.quit()
112f643
 
112f643
+    @unittest._skipInRpmBuild("Does not work in network-free environment")
112f643
     def testNOOP(self):
2027616
         smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
112f643
         expected = (250, 'Ok')