diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2020-04-15 09:51:45 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2020-04-15 09:51:45 +0200 |
commit | a6799b242c0abd6a9dfbf1e98742b2b922205ebf (patch) | |
tree | 89d3c5330ec4cae28f39c64c6a343caa5b6a868b /tests/helper.py | |
parent | 9cdbc56fbac4db2de78dc080934b8f0a7efc892a (diff) | |
download | pygobject-a6799b242c0abd6a9dfbf1e98742b2b922205ebf.tar.gz |
Remove all Python 2 Python code
Diffstat (limited to 'tests/helper.py')
-rw-r--r-- | tests/helper.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/helper.py b/tests/helper.py index 1485ec3d..bed51e8d 100644 --- a/tests/helper.py +++ b/tests/helper.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import contextlib import unittest import inspect @@ -7,11 +5,11 @@ import warnings import functools import sys from collections import namedtuple +from io import StringIO import gi from gi import PyGIDeprecationWarning from gi.repository import GLib -from gi._compat import StringIO ExceptionInfo = namedtuple("ExceptionInfo", ["type", "value", "traceback"]) |