Some of the tests are broken when using PyPy:
* The backport of the csv_eod_error_str never happened in pypy so I added an extra check for this
* The exception thrown when trying to parse a string as integer was outputting the u to identify it as a unicode string which did not match the expected output (see below). I added a u identifier to the string which solves it.
Example:
- invalid literal for int() with base 10: 'fifty'.
+ invalid literal for int() with base 10: u'fifty'.
Tested with
* python-2.7.10
* python-3.4.3
* python-3.5.2
* pypy-5.4.1
* pypy3-5.5.0_alpha
I don't have earlier python versions available for testing.
Sorry about the formatting, not used to this tracker ;-)
The patch fails with Python 2.5:
A version of the patch that works with 2.5 and 2.4 is now in (rev. 7976).
Please test and close the ticket if OK.
Closing now. Please reopen if there are remaining problems.
Thank you for report and patch.