summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2014-06-15 19:30:59 -0700
committerThomas Kluyver <takowl@gmail.com>2014-06-15 19:30:59 -0700
commit732984f41997fb95333d70041d10138d06c196d6 (patch)
tree7a0540cbe535e6a3f631292824f6115f9aaa1872
parent0ffc3142adbeb189e2f2ffc2dac45501fc3c0e57 (diff)
downloadpexpect-732984f41997fb95333d70041d10138d06c196d6.tar.gz
Miscellaneous minor fixes
-rwxr-xr-xtests/test_expect.py1
-rwxr-xr-xtests/test_misc.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_expect.py b/tests/test_expect.py
index da5214c..8ccb9c5 100755
--- a/tests/test_expect.py
+++ b/tests/test_expect.py
@@ -170,6 +170,7 @@ class ExpectTestCase (PexpectTestCase.PexpectTestCase):
if hasattr(unittest, 'SkipTest'):
raise unittest.SkipTest("Not supported on this platform.")
return 'skip'
+ raise
def test_expect_setecho_off_exact(self):
p = pexpect.spawn('cat', echo=True, timeout=5)
diff --git a/tests/test_misc.py b/tests/test_misc.py
index cb82a09..81cc6ff 100755
--- a/tests/test_misc.py
+++ b/tests/test_misc.py
@@ -220,7 +220,7 @@ class TestCaseMisc(PexpectTestCase.PexpectTestCase):
pexpect.spawn(1)
with self.assertRaises(TypeError):
- # should use pexpect.spawn('ls', ['-ls'])
+ # should use pexpect.spawn('ls', ['-la'])
pexpect.spawn('ls', '-la')
with self.assertRaises(ValueError):