churchyard / rpms / python2

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