diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/conftest.py | 1 | ||||
| -rw-r--r-- | tests/test_cmd2.py | 9 | ||||
| -rw-r--r-- | tests/test_transcript.py | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 55700914..e1204086 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,4 @@ +# coding=utf-8 # # Cmd2 unit/functional testing # 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(): diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 06cf50b6..ebd13a59 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -1,3 +1,4 @@ +# coding=utf-8 # # Cmd2 functional testing based on transcript # |
