[Bug 1283742] Re: python-mock tests fail with python3.4

Michael Foord 1283742 at bugs.launchpad.net
Mon Feb 24 22:02:21 UTC 2014


Ah yes, I know the reason for that. It's due to the new signature
changes in Python 3.4 - some builtin objects are now introspectable with
inspect.getfullargspec but don't have the full range of "normal"
attributes. The fix is just to catch the AttributeError around copying
them. FWIW mock is *included* in Python 3.4 as unittest.mock, so nothing
using Python 3.4 should be using the python-mock package!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-mock in Ubuntu.
https://bugs.launchpad.net/bugs/1283742

Title:
  python-mock tests fail with python3.4

Status in “python-mock” package in Ubuntu:
  Confirmed
Status in “python-mock” source package in Trusty:
  Confirmed
Status in “python-mock” package in Debian:
  Unknown

Bug description:
  python-mock tests fail with python3.4, see
  https://launchpadlibrarian.net/167352912/buildlog_ubuntu-trusty-i386.python-mock_1.0.1-2build1_FAILEDTOBUILD.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mock/+bug/1283742/+subscriptions



More information about the foundations-bugs mailing list