From 3b7f7a4ed9be590b2b149c183dcfa721bace50cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Wed, 12 Dec 2018 00:00:00 +0000 Subject: [PATCH] tests: Drop compatibility with python 2 from TAP test runner --- gobject/tests/taptestrunner.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gobject/tests/taptestrunner.py b/gobject/tests/taptestrunner.py index efd41dd25..bdadd9f00 100644 --- a/gobject/tests/taptestrunner.py +++ b/gobject/tests/taptestrunner.py @@ -28,10 +28,7 @@ import unittest import sys import base64 -if sys.hexversion >= 0x03000000: - from io import StringIO -else: - from StringIO import StringIO +from io import StringIO # Log modes class LogMode(object) :