Victor Stinner 61614653d6 Port more unit tests to Python 3
* Replace string.find(a, b) with a.find(b)
* NamedTemporaryFile: open file in text mode rather than opening it
  in binary mode.
* Module.process_contents(): if contents is a Unicode string, first
  encode it to UTF-8 before hashing the content to MD5.
* ClusterController: replace dict.items()[0] with next(iter(dict.items()))
* tox: run the following tests on Python 3.4

  - mysql/test_common.py
  - taskmanager/test_models.py
  - module/test_module_models.py
  - test_cluster_controller.py

Partially implements: blueprint trove-python3
Change-Id: I5372520f9717b4f0279c4b436ca88c160ddf894b
2016-05-30 10:47:26 +02:00
..
2014-08-29 11:22:07 -07:00
2016-03-02 20:22:21 -05:00
2016-05-30 10:47:26 +02:00
2015-09-04 08:26:40 -04:00