diff options
| author | Jeff Quast <contact@jeffquast.com> | 2015-09-20 16:42:12 -0700 |
|---|---|---|
| committer | Jeff Quast <contact@jeffquast.com> | 2015-09-20 16:44:56 -0700 |
| commit | dd5cb38f555bf5861e0af33eae8f83a2a6e1e71c (patch) | |
| tree | 7d4cd15a47ee670eb1e34d6a8dfaf273cd26a4a3 /tests/interact_unicode.py | |
| parent | 55b1648932513a16e675ee8534e981a603c08712 (diff) | |
| download | pexpect-dd5cb38f555bf5861e0af33eae8f83a2a6e1e71c.tar.gz | |
interact tests: prefer getch over echo_w_prompt
this ensures more reliable clean exit, as is necessary
in negative test for interact(escape_character=None)
Diffstat (limited to 'tests/interact_unicode.py')
| -rw-r--r-- | tests/interact_unicode.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/interact_unicode.py b/tests/interact_unicode.py deleted file mode 100644 index f4c1f55..0000000 --- a/tests/interact_unicode.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -''' -Just like interact.py, but using spawnu instead of spawn -''' -try: - # This allows coverage to measure code run in this process - import coverage - coverage.process_startup() -except ImportError: - pass - -from utils import no_coverage_env -import pexpect -import sys - - -def main(): - p = pexpect.spawnu(sys.executable + ' echo_w_prompt.py', - env=no_coverage_env()) - p.interact() - print("Escaped interact") - -if __name__ == '__main__': - main() |
