mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
use assert[Not]In where appropriate
A patch from Dave Malcolm.
This commit is contained in:
parent
a69ba65fdc
commit
577473fe68
75 changed files with 471 additions and 454 deletions
|
@ -258,7 +258,7 @@ if hasattr(poplib, 'POP3_SSL'):
|
|||
self.client = poplib.POP3_SSL(self.server.host, self.server.port)
|
||||
|
||||
def test__all__(self):
|
||||
self.assertTrue('POP3_SSL' in poplib.__all__)
|
||||
self.assertIn('POP3_SSL', poplib.__all__)
|
||||
|
||||
|
||||
class TestTimeouts(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue