mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
11 lines
228 B
Python
11 lines
228 B
Python
import os
|
|
import sys
|
|
import mock
|
|
if os.name == "nt":
|
|
m = mock.Mock()
|
|
m.__version__ = "1.1.1"
|
|
m.Widget = mock.Mock
|
|
m.WidgetWrap = mock.Mock
|
|
sys.modules['urwid'] = m
|
|
sys.modules['urwid.util'] = mock.Mock()
|