Your message dated Sun, 07 Jan 2024 19:38:20 +0000 with message-id <[email protected]> and subject line Bug#717193: fixed in python-mock 5.1.0-1 has caused the Debian Bug report #717193, regarding MagicMock does not wrap __setitem__ with wraps=dict() to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 717193: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717193 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-mock Version: 1.0.1-2 Severity: normal Tags: upstream >>> import mock >>> d = {1:2,3:4} >>> m = mock.MagicMock(spec_set=d.__class__, wraps=d) >>> print m.items() [(1, 2), (3, 4)] >>> m.update({5:6}) >>> print m.items() [(1, 2), (3, 4), (5, 6)] So far so good. m behaves like d, because it wraps it. However: >>> m[7] = 8 >>> print m.items() [(1, 2), (3, 4), (5, 6)]] Unfortunately, __setitem__ is not properly mocked on wrapped dicts. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-rc7-amd64 (SMP w/4 CPU cores) Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-mock depends on: ii python 2.7.5-2 python-mock recommends no packages. Versions of packages python-mock suggests: pn python-mock-doc <none> -- no debconf information -- .''`. martin f. krafft <[email protected]> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
--- End Message ---
--- Begin Message ---Source: python-mock Source-Version: 5.1.0-1 Done: Alexandre Detiste <[email protected]> We believe that the bug you reported is fixed in the latest version of python-mock, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexandre Detiste <[email protected]> (supplier of updated python-mock package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 07 Jan 2024 19:07:23 +0100 Source: python-mock Architecture: source Version: 5.1.0-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <[email protected]> Changed-By: Alexandre Detiste <[email protected]> Closes: 717192 717193 1030887 Changes: python-mock (5.1.0-1) unstable; urgency=medium . * Team Upload * New upstream version 5.1.0 (Closes: #717192, #717193, #1030887) (LP: #1248066) * remove obsolete build-dep python3-pbr & python3-unittest2 * use new dh-sequence-python3 Checksums-Sha1: b55256ff797a145eb7df5bc8457497e6dd74a7db 2229 python-mock_5.1.0-1.dsc de168e970529ed54befd85e82a55172d0152ccca 87814 python-mock_5.1.0.orig.tar.gz fd670bda9f8294a27220d9d3ceb763ced72832f3 6904 python-mock_5.1.0-1.debian.tar.xz f896a9b96a65b8347a0a5d31377687c2b35ea5da 8077 python-mock_5.1.0-1_source.buildinfo Checksums-Sha256: e21ac489ad82ea0228edd1d9267f3faa4db2505a4fdf0a8af4e1d0792d6b04bd 2229 python-mock_5.1.0-1.dsc e3ad0dbebbdab94f7401920e86cb765f50c42f6f88db223c8438c352fc8c136f 87814 python-mock_5.1.0.orig.tar.gz 88b486bd7e12d5361bd67c7526acdf8b57ed636f2e11ef5074031dc71d8539b1 6904 python-mock_5.1.0-1.debian.tar.xz 1074c04f0b2f25a3c177bc7ca1bec85b4dee0dfdf6cb9ffa2a0f0e30528d8c86 8077 python-mock_5.1.0-1_source.buildinfo Files: fb43d8f11f21ddac805bf0cc03c434fe 2229 python optional python-mock_5.1.0-1.dsc 967fb5bc0ae3a4c92ad18a3322f2b71c 87814 python optional python-mock_5.1.0.orig.tar.gz c37cf2eca0982f5564f857467afcf069 6904 python optional python-mock_5.1.0-1.debian.tar.xz 810a7d3a9c0a53407348fdedef6eab19 8077 python optional python-mock_5.1.0-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmWa6LwRHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBrbyg//dccrWef73KdAwUSDvshVE9WQBQz3ycro Une4TJ3w9NsNlSC/WmiAQpgfrv5TfiV9UOS7J0lucwxIkaf/TKCRLufdVrPRluFo 7/x4sSNJVVJ2T6aR663e9ovv+TIaenwgbV+GSC8V2a7yGYnjywBFUcf/h16CkWP2 DGUwDESAkc2L+Ud8QE1XQ6+ZuPwCW0KyWdIsCAnclMl516aEJWcc0vxCsNi6WB86 10gvLJiAh8F3KOs3PW46aLgqzuXiwseq6F1bYYaS6KNLkT0ClupbQJ6nxTkDDbre qrfM2LUPS4tzLqWujqTRcC2bkTNOj25tQEMby1uZpL3m/5m8V82k+ptPRiIYmdeD M2UbaWR21D0TYXRlzDP3nWMUQurUmAnECvTdNTi+t76shElPqivT0uQyo9teyC5Q Vy2Ghy2qITEzqhzNBBxfJaYVuM/0WrUN+U7Fko5hEcD7tam5IApM8ffykCqwx/yC /BdSPnGFekts9iAt9UuBTbRzT4dKPB8msG+iMJB3uSUfVgIkz1LqUCW33E4LGXLC 3gvUR2CnzPDJLOegI35MVGVOhti8QGw8m1nNx9h+MsFCkLx/9u9TcDvyvtoXaayA g0XX7C9pU2R/NR/RqKw0jCKiuGgf85I6tWjBHaDTsbgy/8/pgXyfHTy4mNSEkFqL E9QMR2CIBfE= =1fKh -----END PGP SIGNATURE-----
--- End Message ---

