Re: [pytest-dev] pytest-2.8 / new branches

2015-09-22 Thread holger krekel
On Mon, Sep 21, 2015 at 12:44 +, Bruno Oliveira wrote: > On Mon, Sep 21, 2015 at 9:40 AM holger krekel wrote: > > > So what about these branches: > > > > - master: bugfixes (for current latest pytest release) which will > > usually be released in a new micro revision. > > > > - features: wi

[pytest-dev] (Help) How to replace __multicall__ with hookwrapper?

2015-09-22 Thread Ernesto D. Luzon Jr.
Hi All, I have code below that is based from the snippet provided by Holger: http://stackoverflow.com/questions/10754970/in-which-py-test-callout-can-i-find-both-item-and-report-data def pytest_runtest_makereport(item, call, __multicall__): rep = __multicall__.execute() setattr(item, "rep

Re: [pytest-dev] (Help) How to replace __multicall__ with hookwrapper?

2015-09-22 Thread holger krekel
On Tue, Sep 22, 2015 at 20:27 +0100, Ernesto D. Luzon Jr. wrote: > Hi All, > > I have code below that is based from the snippet provided by Holger: > http://stackoverflow.com/questions/10754970/in-which-py-test-callout-can-i-find-both-item-and-report-data > > def pytest_runtest_makereport(item, c

Re: [pytest-dev] (Help) How to replace __multicall__ with hookwrapper?

2015-09-22 Thread holger krekel
On Tue, Sep 22, 2015 at 19:31 +, holger krekel wrote: > On Tue, Sep 22, 2015 at 20:27 +0100, Ernesto D. Luzon Jr. wrote: > > Hi All, > > > > I have code below that is based from the snippet provided by Holger: > > http://stackoverflow.com/questions/10754970/in-which-py-test-callout-can-i-find-