Tests fail with Python 3.6:
======================================================================
FAIL: autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_launcher_wrapper_raises_runtimeerror
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<BUILDDIR>>/autopilot-1.6.0+17.04.20170313/autopilot/tests/unit/test_application_launcher.py", line 1091, in test_get_application_launcher_wrapper_raises_runtimeerror
raises(RuntimeError(expected_error))
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: RuntimeError("Command '['ldd', 'autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_launcher_wrapper_raises_runtimeerror-1']' returned non-zero exit status 1.",) has different arguments to RuntimeError("Command '['ldd', 'autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_launcher_wrapper_raises_runtimeerror-1']' returned non-zero exit status 1",).
======================================================================
FAIL: autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_path_raises_when_cant_find_app
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<BUILDDIR>>/autopilot-1.6.0+17.04.20170313/autopilot/tests/unit/test_application_launcher.py", line 1076, in test_get_application_path_raises_when_cant_find_app
raises(ValueError(expected_error))
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: ValueError("Unable to find path for application autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_path_raises_when_cant_find_app-1: Command '['which', 'autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_path_raises_when_cant_find_app-1']' returned non-zero exit status 1.",) has different arguments to ValueError("Unable to find path for application autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_path_raises_when_cant_find_app-1: Command '['which', 'autopilot.tests.unit.test_application_launcher.ApplicationLauncherInternalTests.test_get_application_path_raises_when_cant_find_app-1']' returned non-zero exit status 1",).
It's a bit hard to see but I think the difference is just that there is a period at the end of the error messages now.