From: Andrew Svetlov Date: Mon, 17 Dec 2012 17:27:10 +0000 (+0200) Subject: Cleanup: remove not needed mocks. X-Git-Tag: v3.4.0a1~1832 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69d03c4799ade6202e44f4a39331ae26524c932b;p=python Cleanup: remove not needed mocks. --- diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index 6fe2df96df..5a086c88f1 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -524,12 +524,6 @@ class DebuggingServerTests(unittest.TestCase): class NonConnectingTests(unittest.TestCase): - def setUp(self): - smtplib.socket = mock_socket - - def tearDown(self): - smtplib.socket = socket - def testNotConnected(self): # Test various operations on an unconnected SMTP object that # should raise exceptions (at present the attempt in SMTP.send