[Codemod][[codemod] Replace third-party mock with unittest.mock] caffe2/caffe2 (#106541)

Reviewed By: thechrisu

Differential Revision: D47909974

Pull Request resolved: https://github.com/pytorch/pytorch/pull/106541
Approved by: https://github.com/thechrisu
This commit is contained in:
Jaromir Latal 2023-09-29 18:09:44 +00:00 committed by PyTorch MergeBot
parent 88ef126a93
commit 6e2c14a0e8

View file

@ -9,7 +9,7 @@ import shutil
import tempfile
import unittest
import time
from mock import Mock
from unittest.mock import Mock
from hypothesis import assume, given, settings
import hypothesis.strategies as st