mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
We didn't mock `os.kill` in `test_dead_process` and the pid it kills might coincidentlly be the same with some real process. 1. Add a mocker to mock out `os.kill` in `test_dead_process`. 2. Use reset_mock to replace setting it again.