[TIP] pytest: different tmppath in subprocesses

Hartmut Goebel h.goebel at crazy-compilers.com
Wed Jun 2 07:42:03 PDT 2021


Hi Bruno,

> I would append the |os.getpid()| to the existing |HOME| env var, 
> something like this:

After trying more, I can rephrase my question:

Is there some way to postpone execution of fixtures until into the 
spawned process?

Calling fixtures as functions would have been an options, but has been 
disabled in pytest 4.0.


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel at crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20210602/c1c2e52a/attachment.htm>


More information about the testing-in-python mailing list