Author anthonypjshaw
Recipients Darragh Bailey, anthonypjshaw, josephgordon, michael.foord, r.david.murray, rbcollins, xtreak
Date 2019-05-06.19:29:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557170953.39.0.10157615429.issue25597@roundup.psfhosted.org>
In-reply-to
Content
The assertions in the attached test still fail on master (3.8a3), so this still applies. 

Michael, are you able to look at this, the code hasn't changed since the original PEP417 implementation, which doesn't specify if this behaviour should be supported.

The documentation does not specify that this is supported also, so i suspect this is an enhancement request.

        elif result is None:
            wraps = None
            if self._mock_wraps is not None:
                # XXXX should we get the attribute without triggering code
                # execution?
                wraps = getattr(self._mock_wraps, name)

            result = self._get_child_mock(
                parent=self, name=name, wraps=wraps, _new_name=name,
                _new_parent=self
            )
History
Date User Action Args
2019-05-06 19:29:13anthonypjshawsetrecipients: + anthonypjshaw, rbcollins, r.david.murray, michael.foord, josephgordon, Darragh Bailey, xtreak
2019-05-06 19:29:13anthonypjshawsetmessageid: <1557170953.39.0.10157615429.issue25597@roundup.psfhosted.org>
2019-05-06 19:29:13anthonypjshawlinkissue25597 messages
2019-05-06 19:29:13anthonypjshawcreate