| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
Replace deprecated unittest.makeSuite
|
| | |
| |
| |
| |
| |
| | |
This function was never formally documented, but has been deprecated and
will be removed in Python 3.13. Replaced with
unittest.TestLoader.loadTestsFromTestCase.
|
| |/
|
|
|
|
| |
These tests have the same issues on GitHub Actions, so switch to use the
more generic 'CI' variable to detect when being run on a CI platform to
handle these tests properly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| | |
|
| |
|
|
|
| |
this ensures more reliable clean exit, as is necessary
in negative test for interact(escape_character=None)
|
| |
|
|
|
| |
Test intermittently fails PyPy and Travis-CI hosts, where EOF
is incorrectly interpreted instead of captured as exception.
|
| |
|
|
|
|
|
|
|
|
|
| |
For those who wish to disable the ability to escape using
escape_character until normal process termination, they
may now set the value of escape_character to None.
Some of the related docstring on escape_character was made more
brief and clear about its related value behavior.
This closes #131 #132 #167
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Closes gh-59
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
-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.
|
| |
|
|
| |
hopefully, fixing older python error
|
| |
|
|
|
|
| |
sendline('xyz') in python3 will send unicode, what is expected of the spawn interface is raw bytes. The proper procedure should be to use sendline(b'xyz').
The interact() method of spawnu() is also tested to ensure unicode is accepted (hamsterface!)
|
| | |
|
| |
|