summaryrefslogtreecommitdiff
path: root/simplejson/tests/test_namedtuple.py
diff options
context:
space:
mode:
Diffstat (limited to 'simplejson/tests/test_namedtuple.py')
-rw-r--r--simplejson/tests/test_namedtuple.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/simplejson/tests/test_namedtuple.py b/simplejson/tests/test_namedtuple.py
index 54a9a12..4387894 100644
--- a/simplejson/tests/test_namedtuple.py
+++ b/simplejson/tests/test_namedtuple.py
@@ -1,6 +1,7 @@
+from __future__ import absolute_import
import unittest
import simplejson as json
-from StringIO import StringIO
+from simplejson.compat import StringIO
try:
from collections import namedtuple