diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-05-28 00:17:26 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-05-28 00:17:57 -0700 |
commit | fa7964988f1541587a9fc3b582223e0a7b11a4d1 (patch) | |
tree | eb6d95b6f2082d78d274059270d3130ebf1a7159 /test/pathod | |
parent | 877f5c54ef779c1ef081ed86ce69f4f7864d13d9 (diff) | |
download | mitmproxy-fa7964988f1541587a9fc3b582223e0a7b11a4d1.tar.gz mitmproxy-fa7964988f1541587a9fc3b582223e0a7b11a4d1.tar.bz2 mitmproxy-fa7964988f1541587a9fc3b582223e0a7b11a4d1.zip |
fix Python 2 tests
Diffstat (limited to 'test/pathod')
-rw-r--r-- | test/pathod/test_log.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pathod/test_log.py b/test/pathod/test_log.py index 3d1d10d6..29801eb3 100644 --- a/test/pathod/test_log.py +++ b/test/pathod/test_log.py @@ -1,10 +1,10 @@ from pathod import log from netlib.exceptions import TcpDisconnect -from six.moves import cStringIO +import six -class DummyIO(cStringIO): +class DummyIO(six.StringIO): def start_log(self, *args, **kwargs): pass |