From 28b6b8d29645c4784db5772d18d727f5cbe7ec93 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 7 Aug 2018 08:41:11 -0700 Subject: [PATCH] Update StringIO use for Py3 It is imported from io now. --- tests/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib.py b/tests/lib.py index d77c3460..cadb86fe 100644 --- a/tests/lib.py +++ b/tests/lib.py @@ -16,7 +16,7 @@ # import sys from contextlib import contextmanager -from StringIO import StringIO +from io import StringIO @contextmanager def captured_output():