mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
Merge branch 'master' into solidcore
This commit is contained in:
commit
4632cb5dbd
@ -22,9 +22,9 @@ matrix:
|
|||||||
git:
|
git:
|
||||||
depth: 9999999
|
depth: 9999999
|
||||||
- python: 3.5
|
- python: 3.5
|
||||||
env: SCOPE="netlib ./test/mitmproxy/script ./test/pathod/test_utils.py"
|
env: SCOPE="netlib ./test/mitmproxy/script ./test/pathod/test_utils.py ./test/pathod/test_log.py"
|
||||||
- python: 3.5
|
- python: 3.5
|
||||||
env: SCOPE="netlib ./test/mitmproxy/script ./test/pathod/test_utils.py" NO_ALPN=1
|
env: SCOPE="netlib ./test/mitmproxy/script ./test/pathod/test_utils.py ./test/pathod/test_log.py" NO_ALPN=1
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: DOCS=1
|
env: DOCS=1
|
||||||
script: 'cd docs && make html'
|
script: 'cd docs && make html'
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import StringIO
|
|
||||||
from pathod import log
|
from pathod import log
|
||||||
from netlib.exceptions import TcpDisconnect
|
from netlib.exceptions import TcpDisconnect
|
||||||
import netlib.tcp
|
|
||||||
|
import six
|
||||||
|
|
||||||
|
|
||||||
class DummyIO(StringIO.StringIO):
|
class DummyIO(six.StringIO):
|
||||||
|
|
||||||
def start_log(self, *args, **kwargs):
|
def start_log(self, *args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user