[Piglit] [PATCH 0/5] preparation for python 3

Dylan Baker baker.dylan.c at gmail.com
Thu Jul 2 16:46:43 PDT 2015


This takes a few changes off of my python 3 branch, and applies them to
the python 2 branch. None of these changes break python 2, but are
required to make python 3 work.

Dylan Baker (5):
  framework/backends/abstract.py: use next() instead of generator.next()
  framework/status.py: Add a __hash__ method to Status class
  framwork/summary: use mako's render_unicode method instead of render
  core_tests.py: use PiglitConfig instead of SafeConfigParser
  run_parser_tests.py: Use PiglitConfig instead of SafeConfigParser

 framework/backends/abstract.py      |  2 +-
 framework/status.py                 |  3 +++
 framework/summary.py                | 43 ++++++++++++++++++++-----------------
 framework/tests/core_tests.py       |  9 +-------
 framework/tests/run_parser_tests.py |  3 +--
 5 files changed, 29 insertions(+), 31 deletions(-)

-- 
2.4.5



More information about the Piglit mailing list