Movatterモバイル変換


[0]ホーム

URL:


homepage

Message237112

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorzkrynicki
Recipientszkrynicki
Date2015-03-03.08:36:25
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1425371785.99.0.969035398065.issue23568@psf.upfronthosting.co.za>
In-reply-to
Content
Hey.I'm the upstream developer of padmehttps://github.com/zyga/padme -- the mostly transparent proxy class for Python. While working on unit tests for proxying numeric methods I realized that there are a few bugs in the mock library.The bug I'd like to report now is that __rdivmod__ cannot be mocked by MagicMock. This seems to be caused by the fact that it is listed as magic but not as numeric (for which right-hand-side variants are created).Note that it cannot be simply added to numeric as it doesn't have the augmented assignment variant (there is no __idivmod__).The bug is present in all versions of Python that come with unittest.mock (3.3, 3.4 and 3.5) and it is also present in the upstream/standalone version of mock
History
DateUserActionArgs
2015-03-03 08:36:26zkrynickisetrecipients: +zkrynicki
2015-03-03 08:36:25zkrynickisetmessageid: <1425371785.99.0.969035398065.issue23568@psf.upfronthosting.co.za>
2015-03-03 08:36:25zkrynickilinkissue23568 messages
2015-03-03 08:36:25zkrynickicreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp