We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a83e321 commit 08d3defCopy full SHA for 08d3def
1 file changed
plugins/conftest.py
@@ -6,6 +6,7 @@
6
# Mock winreg and shutil._winapi so that Windows-only modules don't crash the import on Linux.
7
if sys.platform != "win32":
8
import shutil
9
+
10
sys.modules["winreg"] = MagicMock()
11
mock_winapi = MagicMock()
12
del mock_winapi.CopyFile2
0 commit comments