[PATCH] test/py: support pytest 6

2021-01-30 Thread Stephen Warren
Two changes are needed to support pytest 6: 1) The main entry point no longer allows command-line arguments to be supplied. Instead, we must modify sys.argv before calling the entry point. pytest 5.1.2 (from the current requirements.txt) supports either modifying sys.argv, or passing arguments, so

Re: [PATCH] test/py: support pytest 6

2021-01-30 Thread Heinrich Schuchardt
On 1/30/21 11:19 PM, Heinrich Schuchardt wrote: Am 30. Januar 2021 22:05:44 MEZ schrieb Stephen Warren : Two changes are needed to support pytest 6: 1) The main entry point no longer allows command-line arguments to be supplied. Instead, we must modify sys.argv before calling the entry point. p

Re: [PATCH] test/py: support pytest 6

2021-01-30 Thread Heinrich Schuchardt
Am 30. Januar 2021 22:05:44 MEZ schrieb Stephen Warren : >Two changes are needed to support pytest 6: > >1) The main entry point no longer allows command-line arguments to be >supplied. Instead, we must modify sys.argv before calling the entry >point. pytest 5.1.2 (from the current requirements.txt