Kaydet (Commit) 69d03c47 authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Cleanup: remove not needed mocks.

üst 2ade6f24
...@@ -524,12 +524,6 @@ class DebuggingServerTests(unittest.TestCase): ...@@ -524,12 +524,6 @@ class DebuggingServerTests(unittest.TestCase):
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment