Show
Ignore:
Timestamp:
05/05/10 14:05:39 (2 years ago)
Author:
Menno Smits <menno@…>
Branch:
default
Message:

Always return folder names as unicode for consistency.

Otherwise sometimes the folder names are unicode and sometimes they
are strs. This is good practice for Python 3.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imapclient/test/test_imap_utf7.py

    r147 r148  
    4848    def test_decode(self): 
    4949        for (input, output) in self.tests: 
    50             self.assertEquals(input, decode(output)) 
     50            decoded = decode(output) 
     51            self.assertEquals(input, decoded)  
     52            self.assert_(isinstance(decoded, unicode)) 
    5153 
    5254