Cleanup: remove not needed mocks.

This commit is contained in:
Andrew Svetlov 2012-12-17 19:27:10 +02:00
parent 2ade6f24cb
commit 69d03c4799
1 changed files with 0 additions and 6 deletions

View File

@ -524,12 +524,6 @@ def testSendMessageMultipleResentRaises(self):
class NonConnectingTests(unittest.TestCase): class NonConnectingTests(unittest.TestCase):
def setUp(self):
smtplib.socket = mock_socket
def tearDown(self):
smtplib.socket = socket
def testNotConnected(self): def testNotConnected(self):
# Test various operations on an unconnected SMTP object that # Test various operations on an unconnected SMTP object that
# should raise exceptions (at present the attempt in SMTP.send # should raise exceptions (at present the attempt in SMTP.send