This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients michael.foord, pitrou
Date 2013-01-28.14:03:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359381794.24.0.35466581477.issue17063@psf.upfronthosting.co.za>
In-reply-to
Content
I'm noticing that with multiple ANY keyword arguments, the order in the result tuple is undefined. So perhaps ANY could be instantiable in those cases where disambiguation is required:

foo, bar = my_mock.assert_called_with(1, foo=ANY(0), bar=ANY(1))
self.assertIsInstance(bar, someobj)
self.assertIsInstance(foo, someotherobj)
History
Date User Action Args
2013-01-28 14:03:14pitrousetrecipients: + pitrou, michael.foord
2013-01-28 14:03:14pitrousetmessageid: <1359381794.24.0.35466581477.issue17063@psf.upfronthosting.co.za>
2013-01-28 14:03:14pitroulinkissue17063 messages
2013-01-28 14:03:14pitroucreate