From 7d3a463efa1f64dd87addfd2d53163b762fc638d 2017-01-07 14:28:16
From: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
Date: 2017-01-07 14:28:16
Subject: [PATCH] cleanup

---

diff --git a/IPython/extensions/tests/test_autoreload.py b/IPython/extensions/tests/test_autoreload.py
index 968a19f..9dc18f2 100644
--- a/IPython/extensions/tests/test_autoreload.py
+++ b/IPython/extensions/tests/test_autoreload.py
@@ -18,18 +18,13 @@ import tempfile
 import shutil
 import random
 import time
+from io import StringIO
 
 import nose.tools as nt
 import IPython.testing.tools as tt
 
 from IPython.extensions.autoreload import AutoreloadMagics
 from IPython.core.events import EventManager, pre_run_cell
-from IPython.utils.py3compat import PY3
-
-if PY3:
-    from io import StringIO
-else:
-    from StringIO import StringIO
 
 #-----------------------------------------------------------------------------
 # Test fixture