Source: src:autopkgtest
Dear Maintainer,
autopkgtest is still hybrided for old "mock" (python3-mock) that
should be removed someday.
I guess we don't want to backport to 10 year old os anymore
Greetings
-----------
autopkgtest (3.2) unstable; urgency=medium
...
* Rewrite build depends to not rely on builders being able to fall back to
alternatives (python >= 3.3 | python3-mock), to ease backporting.
...
-- Martin Pitt <[email protected]> Mon, 21 Jul 2014 09:35:17 +0200
debian/control: python3-mock
tests/autopkgtest_args-try:
tests/autopkgtest_args- # Python >= 3.3
tests/autopkgtest_args: from unittest.mock import patch
tests/autopkgtest_args- patch # pyflakes
tests/autopkgtest_args-except ImportError:
tests/autopkgtest_args- # fall back to separate package
tests/autopkgtest_args: from mock import patch # type: ignore
--
tests/testdesc- # Python >= 3.3
tests/testdesc: from unittest.mock import patch
tests/testdesc- patch # pyflakes
tests/testdesc-except ImportError:
tests/testdesc- # fall back to separate package
tests/testdesc: from mock import patch # type: ignore