summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDamien Baty <damien@damienbaty.com>2023-03-18 10:22:12 +0100
committerDamien Baty <damien@damienbaty.com>2023-03-18 10:22:12 +0100
commit1c071770bb037196bd3830258c33c6ad9031c0b3 (patch)
treeac28b289ef317d241b057d6ca589fd69e0a5ea08 /tests
parent5e34e0b55766099a2965eaa61e77795fa577f9f4 (diff)
Remove leftovers of Python 2 support
Diffstat (limited to 'tests')
-rw-r--r--tests/features/steps/wrappers.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/features/steps/wrappers.py b/tests/features/steps/wrappers.py
index 61805170..3ebcc92c 100644
--- a/tests/features/steps/wrappers.py
+++ b/tests/features/steps/wrappers.py
@@ -3,10 +3,7 @@ import pexpect
from pgcli.main import COLOR_CODE_REGEX
import textwrap
-try:
- from StringIO import StringIO
-except ImportError:
- from io import StringIO
+from io import StringIO
def expect_exact(context, expected, timeout):