Public bug reported:
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.
** Affects: autopilot (Ubuntu)
Importance: Undecided
Status: New
** Tags: python3.6
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698979
Title:
ftbfs with python 3.6
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopilot/+bug/1698979/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs