force_unicode removed.
Don’t compare int and None
Use six for string types.
Fixed the StringIO call
Use six fro strings / unicodes / bytes
Use six for strings / unicodes / bytes
Fixed the calls to unicode.
Fixed a typo about warnings import.
Use six for strings / unicodes / bytes