mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
use assert[Not]In where appropriate
This commit is contained in:
parent
8cd0a66a0f
commit
aa98058cc4
86 changed files with 622 additions and 599 deletions
|
@ -246,7 +246,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