$ tox -e py33
GLOB sdist-make: /opt/osd/python-heatclient/setup.py
py33 inst-nodeps: /opt/osd/python-heatclient/.tox/dist/python-heatclient-0.2.5.11.g6376cd7.zip
py33 runtests: commands[0] | python setup.py testr --slowest --testr-args=
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ . --list
Traceback (most recent call last):
File "/usr/local/lib/python3.3/runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/lib/python3.3/runpy.py", line 73, in _run_code
exec(code, run_globals)
File "/opt/osd/python-heatclient/.tox/py33/lib/python3.3/site-packages/subunit/run.py", line 124, in <module>
main()
File "/opt/osd/python-heatclient/.tox/py33/lib/python3.3/site-packages/subunit/run.py", line 120, in main
stdout=sys.stdout)
File "/opt/osd/python-heatclient/.tox/py33/lib/python3.3/site-packages/testtools/run.py", line 175, in __init__
self.parseArgs(argv)
File "/opt/osd/python-heatclient/.tox/py33/lib/python3.3/site-packages/testtools/run.py", line 214, in parseArgs
self._do_discovery(argv[2:])
File "/opt/osd/python-heatclient/.tox/py33/lib/python3.3/site-packages/testtools/run.py", line 333, in _do_discovery
self.test = sorted_tests(loaded)
File "/opt/osd/python-heatclient/.tox/py33/lib/python3.3/site-packages/testtools/testsuite.py", line 310, in sorted_tests
tests.sort()
TypeError: unorderable types: StackManagerNoPaginationTest() < StackManagerNoPaginationTest()
Non-zero exit code (1) from test listing. stdout=b'', stderr=None
error: testr failed (3)
Those types need to provide __cmp__ to be sortable, in Python3 objects aren't comparable otherwise.