File tree Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ def __iter__(self):
146146
147147
148148class PushableIterator (object ):
149-
150149 NO_MORE = object ()
151150
152151 def __init__ (self , it ):
Original file line number Diff line number Diff line change 1313
1414
1515def wrap_socket (sock , ssl_context , host ):
16-
1716 if not hasattr (ssl , "create_default_context" ):
1817 # Python 2.7.0 - 2.7.8 do not have the concept of ssl contexts.
1918 # Thus we have to use the less flexible and legacy way of wrapping the
Original file line number Diff line number Diff line change 8181
8282
8383class _TestBase (unittest .TestCase ):
84-
8584 conf = None
8685 use_uid = True
8786
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ class IMAP4UTF7TestCase(unittest.TestCase):
2525 ]
2626
2727 def test_encode (self ):
28- for ( input , output ) in self .tests :
28+ for input , output in self .tests :
2929 encoded = encode (input )
3030 self .assertIsInstance (encoded , bytes )
3131 self .assertEqual (encoded , output )
3232
3333 def test_decode (self ):
34- for ( input , output ) in self .tests :
34+ for input , output in self .tests :
3535 decoded = decode (output )
3636 self .assertIsInstance (decoded , str )
3737 self .assertEqual (input , decoded )
You can’t perform that action at this time.
0 commit comments