summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2016-12-09 16:54:10 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2016-12-09 16:54:10 -0500
commit06331d3ab75feb807dc48d824cbd54898a6b6cdd (patch)
tree24034e3f0ff7cd94239d575fe046acc550e7a49f /tests/test_cmd2.py
parentb9658cff197beff5a00632a68ecf85838879835e (diff)
downloadcmd2-git-06331d3ab75feb807dc48d824cbd54898a6b6cdd.tar.gz
First stage of refactoring to support full simultaneous Python 2 and 3 compatibility via use of the six module.
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r--tests/test_cmd2.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 8435ac1a..0deb9a0b 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Cmd2 unit/functional testing
#
@@ -6,14 +7,10 @@
import mock
import pytest
-
from conftest import run_cmd, _normalize
-import cmd2
+from six import StringIO
-try:
- from StringIO import StringIO
-except ImportError:
- from io import StringIO
+import cmd2
def test_ver():