From fa7964988f1541587a9fc3b582223e0a7b11a4d1 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 28 May 2016 00:17:26 -0700 Subject: fix Python 2 tests --- test/pathod/test_log.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/pathod') 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 -- cgit v1.2.3