From 764beed235672ebef306853d001e99f5296a5aa6 Mon Sep 17 00:00:00 2001
From: Nick <nicholas.curtis@uconn.edu>
Date: Tue, 12 Dec 2017 14:28:08 -0500
Subject: [PATCH] py2/3 compat fix

---
 test/test_c_execution.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_c_execution.py b/test/test_c_execution.py
index 9d99f9b95..d1b3c95ca 100644
--- a/test/test_c_execution.py
+++ b/test/test_c_execution.py
@@ -25,9 +25,9 @@ THE SOFTWARE.
 import numpy as np
 import loopy as lp
 import sys
+import six
 import pytest
 from loopy import CACHING_ENABLED
-from StringIO import StringIO
 
 import logging
 logger = logging.getLogger(__name__)
@@ -206,7 +206,7 @@ def test_c_caching():
                 @param newLogLevel: Optionally change the global logging level, e.g.
                 logging.DEBUG
             """
-            self.buffer = StringIO()
+            self.buffer = six.StringIO()
             self.buffer.write("Log output")
 
             logger = logging.getLogger()
-- 
GitLab