summaryrefslogtreecommitdiff
path: root/tests/test_command_list_split.py
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2014-06-01 17:51:34 -0700
committerThomas Kluyver <takowl@gmail.com>2014-06-01 20:40:07 -0700
commit8d0e5684a479b93811f8433e672a041f4e0f25d2 (patch)
tree49da0c489ccf19295b47ec93c32d664f92dd678f /tests/test_command_list_split.py
parent4be9a878b994b77d210840e72353f2c5c3e07536 (diff)
downloadpexpect-git-8d0e5684a479b93811f8433e672a041f4e0f25d2.tar.gz
Fix imports in tests for Python 3
Closes gh-59
Diffstat (limited to 'tests/test_command_list_split.py')
-rwxr-xr-xtests/test_command_list_split.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_command_list_split.py b/tests/test_command_list_split.py
index 2213b45..370f46e 100755
--- a/tests/test_command_list_split.py
+++ b/tests/test_command_list_split.py
@@ -20,7 +20,8 @@ PEXPECT LICENSE
'''
import pexpect
import unittest
-import PexpectTestCase
+from . import PexpectTestCase
+
class SplitCommandLineTestCase(PexpectTestCase.PexpectTestCase):
def testSplitSizes(self):
assert len(pexpect.split_command_line(r'')) == 0