Syntax changes to support Python 3
commit2cad610cad184508b3827e9f1683873719ad1d3d
authorThomas Leonard <talex5@gmail.com>
Sat, 3 Dec 2011 12:00:41 +0000 (3 12:00 +0000)
committerThomas Leonard <talex5@gmail.com>
Sat, 3 Dec 2011 12:10:00 +0000 (3 12:10 +0000)
treefb570ca75f271d6d900448267fff9e82d7aa3d0a
parent70eecb55ee604b48ef930bd6077087f0dbcf2e3a
Syntax changes to support Python 3

Use "from __future__ import unicode_literals" in tests (avoids the problem that
u'...' is a syntax error in Python3).

Added support.raise_with_traceback, which works with Python 2 and Python 3.
tests/basetest.py
tests/testmodel.py
zeroinstall/support/__init__.py