Decorator to only run tests on python 3
Updating tests to handle responses being of bytes type under python 3
Update high level interface for pycurl returning body and headers as bytes now
Update remaining tests for pycurl returning body as bytes
Test for read callback returning bytes
Check that read callback returning bytes with embedded nulls works correctly
Dry
Add corresponding tests for strings
Check multibyte string encoded to bytes
Encoding multibyte data is not going to work well, only allow ascii
Update newly added tests for pycurl returning body as bytes
Add a test for writing to StringIO which is now different and does not work
Test trying to obtain missing attributes
Check that trying to delete nonexistent attributes raises AttributeError
A tempfile is not a python 2 file; arrange for separate tests to exist for files and tempfiles
This will only work on python 3
Python 3 compatibility: PyInt -> PyLong
Only check for PyInt on python 2
Python 3 compatibility: type and module changes
Python 3 compatibility: getattro/setattro