Skip to content

Commit 6e2c14a

Browse files
jermenkoopytorchmergebot
authored andcommittedSep 29, 2023
[Codemod][[codemod] Replace third-party mock with unittest.mock] caffe2/caffe2 (pytorch#106541)
Reviewed By: thechrisu Differential Revision: D47909974 Pull Request resolved: pytorch#106541 Approved by: https://github.com/thechrisu
1 parent 88ef126 commit 6e2c14a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎caffe2/python/data_parallel_model_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import tempfile
1010
import unittest
1111
import time
12-
from mock import Mock
12+
from unittest.mock import Mock
1313
from hypothesis import assume, given, settings
1414
import hypothesis.strategies as st
1515

0 commit comments

Comments
 (0)
Please sign in to comment.