wolever / parameterized

Parameterized testing with any Python test framework
Other
836 stars 105 forks source link

Fix #85: setup.py updated to handle non-ascii characters in README.rst #89

Closed sliwinski-milosz closed 4 years ago

sliwinski-milosz commented 4 years ago

Another fix proposal for https://github.com/wolever/parameterized/issues/85 based on following posts:

  1. Simplest, however it doesn't work for python 2.7: https://askubuntu.com/questions/611508/ubuntu-14-04-python-3-4-unicodedecodeerror
  2. Use io instead of plain open: https://stackoverflow.com/questions/25049962/is-encoding-is-an-invalid-keyword-error-inevitable-in-python-2-x
wolever commented 4 years ago

D'oh! Just saw your other PR 🙂

wolever commented 4 years ago

Thanks! Fixed in 0ed3158