aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_language_actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pathod/test_language_actions.py')
-rw-r--r--test/pathod/test_language_actions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pathod/test_language_actions.py b/test/pathod/test_language_actions.py
index 1c404714..c2e15189 100644
--- a/test/pathod/test_language_actions.py
+++ b/test/pathod/test_language_actions.py
@@ -1,4 +1,4 @@
-import cStringIO
+from six.moves import cStringIO as StringIO
from pathod.language import actions
from pathod import language
@@ -61,7 +61,7 @@ class TestInject:
assert v.offset == "r"
def test_serve(self):
- s = cStringIO.StringIO()
+ s = StringIO()
r = language.parse_pathod("400:i0,'foo'").next()
assert language.serve(r, s, {})