Even though I (now) get the inner workings of `patch.dict`, I don't see any change in behavior whether this (and the following two) statements are executed or not.

Sorry to ask you that, but can you better describe why these modules (`reource`, `signal` and `fcntl`) should be mocked here?