summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2013-09-23 11:29:08 -0700
committerThomas Kluyver <takowl@gmail.com>2013-09-23 11:29:08 -0700
commitada77b55de931f774faad15812b9f6d9a996392a (patch)
tree594f07762eacef3e1784b41491c6d74242b7539a /tools
parentbf1dcd269edb62aa99d8e1ce00212afc2b2e1773 (diff)
downloadpexpect-ada77b55de931f774faad15812b9f6d9a996392a.tar.gz
Don't use six for tests
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testall.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/testall.py b/tools/testall.py
index 53d6fa0..a62b53a 100755
--- a/tools/testall.py
+++ b/tools/testall.py
@@ -27,13 +27,14 @@ PEXPECT LICENSE
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
'''
+from __future__ import print_function
+
import unittest
import os, os.path
import sys
import platform
import pexpect
-from pexpect import six
print("Testing pexpect %s using python %s:" % (
pexpect.__version__, platform.python_version()))
@@ -59,7 +60,7 @@ def find_modules_and_add_paths (root_path):
for module_file in import_list:
path, module = os.path.split(module_file)
module_list.append (module)
- six.print_('Adding:', module_file)
+ print('Adding:', module_file)
if not path in sys.path:
sys.path.append (path)
if not os.path.dirname(path) in sys.path: