Re: [PATCH v2] test/py: fix runtest wrapper for pytest 6

2021-02-02 Thread Tom Rini
On Sat, Jan 30, 2021 at 08:12:18PM -0700, Stephen Warren wrote: > The implementation of pytest_runtest_protocol() must call > pytest_runtest_logstart() and pytest_runtest_logfinish(). This appears to > be necessary even in pytest 5.2.1 judging by the default version of >

Re: [PATCH v2] test/py: fix runtest wrapper for pytest 6

2021-02-01 Thread Simon Glass
On Sat, 30 Jan 2021 at 20:12, Stephen Warren wrote: > > The implementation of pytest_runtest_protocol() must call > pytest_runtest_logstart() and pytest_runtest_logfinish(). This appears to > be necessary even in pytest 5.2.1 judging by the default version of > pytest_runtest_protocol(), but

[PATCH v2] test/py: fix runtest wrapper for pytest 6

2021-01-31 Thread Stephen Warren
The implementation of pytest_runtest_protocol() must call pytest_runtest_logstart() and pytest_runtest_logfinish(). This appears to be necessary even in pytest 5.2.1 judging by the default version of pytest_runtest_protocol(), but evidently some form of code reorganization in pytest only made this