summaryrefslogtreecommitdiff
path: root/tests/test_isalive.py
Commit message (Collapse)AuthorAgeFilesLines
* Always use self.PYTHONBIN not 'python' or sys.executable in tests (#580)dluyer2019-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * s/sys.executable/self.PYTHONBIN/ * s/sys.executable/self.PYTHONBIN/ * Update test_isalive.py * s/sys.executable/self.PYTHONBIN/ * s/sys.executable/self.PYTHONBIN/ * Support cases where pythonbin != sys.executable * Support cases where pythonbin != sys.executable * Fix raw use of 'python' to use self.PYTHONBIN * Fix test_pxssh.py when PYTHONBIN != 'python' The fake 'ssh' will be started via #!/usr/bin/env python, when it may need to use sys.executable or some other self.PYTHONBIN. * Remove unnecessary changes from pull request. * Remove unnecessary changes from pull request.
* Tests cases and documentation to supplement wait()Jeff Quast2015-04-261-8/+19
| | | | | | | This matches the same branch of ptyprocess, noexception-on-wait-after-terminate, which allows calling the wait() method multiple times without raising an exception.
* Solaris support, tested on SmartOS from cron(1).Jeff Quast2014-06-081-48/+41
|
* Fix imports in tests for Python 3Thomas Kluyver2014-06-011-1/+1
| | | | Closes gh-59
* remove all unnecessary importsjquast2014-06-011-1/+2
|
* Test forcing termination (SIGKILL)Thomas Kluyver2013-10-211-1/+6
|
* Add test for wait() on process terminated by signalThomas Kluyver2013-10-211-1/+10
|
* py2.5 compatibilities w/six.pyjquast2013-09-221-1/+1
| | | | | | | | | | -except Exception as e: +except Exception, err: the unfortunate use of six.b('') instead of b'' print(arg0, arg1) => six.print_(arg0, arg1) some autopep8 -i is definitely called for, some of these test cases are darn unreadable, but did partially pep8 some of the really-long-over-80col-lines.
* more py25 compatibilityjquast2013-09-221-0/+1
| | | | not even sure if pexpect can get as far back as python2.5, but its worth a shot.
* Use new style except statements in testsThomas Kluyver2013-09-171-1/+1
|
* Moved everything up one directory level.Noah Spurrier2012-10-261-0/+105