mirror of
https://github.com/python/cpython.git
synced 2025-09-02 06:57:58 +00:00
Cleanup: remove not needed mocks.
This commit is contained in:
parent
2ade6f24cb
commit
69d03c4799
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue