summaryrefslogtreecommitdiff
path: root/tests/test_isalive.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-09-22 16:30:28 -0700
committerjquast <contact@jeffquast.com>2013-09-22 16:30:28 -0700
commit36d6f3b8026eccfce8ae541a659b44dcfa553c87 (patch)
tree532a899cd323f6d4cad796552f4e3dd53591911b /tests/test_isalive.py
parent4decac0a645f55160d3faeac83d480c405eda67c (diff)
downloadpexpect-git-36d6f3b8026eccfce8ae541a659b44dcfa553c87.tar.gz
more py25 compatibility
not even sure if pexpect can get as far back as python2.5, but its worth a shot.
Diffstat (limited to 'tests/test_isalive.py')
-rwxr-xr-xtests/test_isalive.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_isalive.py b/tests/test_isalive.py
index beab764..d18996c 100755
--- a/tests/test_isalive.py
+++ b/tests/test_isalive.py
@@ -18,6 +18,7 @@ PEXPECT LICENSE
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
'''
+from __future__ import with_statement # bring 'with' stmt to py25
import pexpect
import unittest
import sys, os, time