summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make a modified copy of os.environ for interact testsinteract-does-not-detect-eofThomas Kluyver2014-06-151-13/+11
|
* For python3, exceptions should use "as err", not ", err"jquast2014-06-151-2/+2
|
* python3.2 accommodationsjquast2014-06-151-4/+4
|
* Document and detect EOF condition in interact()jquast2014-06-152-26/+18
|
* Improve EOF through test -> interact -> echo_promptjquast2014-06-154-38/+65
|
* Merge pull request #70 from pexpect/more-exacting-whichThomas Kluyver2014-06-103-81/+235
|\ | | | | new function is_exe() makes existing which() more correct
| * Make execute permission check more explicitmore-exacting-whichThomas Kluyver2014-06-101-4/+11
| |
| * Provide new 'is_exe' function used by 'which'jquast2014-06-071-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted by bug report http://bugs.python.org/issue14706, "This is not a Python bug. os.access() is just a wrapper around the POSIX access() function" http://pubs.opengroup.org/onlinepubs/9699919799/functions/faccessat.html """ If any access permissions are checked, each shall be checked individually, as described in XBD File Access Permissions, except that where that description refers to execute permission for a process with appropriate privileges, an implementation may indicate success for X_OK even if execute permission is not granted to any user. """
| * Expand on tests/test_which.pyjquast2014-06-071-33/+141
| | | | | | | | | | Mainly, regarding os.defpath, os.environ['PATH'], absolute, relative, and symlinks.
| * Separate which tests into test_which.pyjquast2014-06-072-76/+82
| |
* | Merge pull request #71 from pexpect/replwrap-test-fixesThomas Kluyver2014-06-102-11/+29
|\ \ | | | | | | Fixing various prompt issues with bash ReplWrapper
| * | Minor fixes for replwrap testsreplwrap-test-fixesThomas Kluyver2014-06-101-3/+1
| | |
| * | syntaxerr: missing r'literal' for unset PS1jquast2014-06-081-1/+1
| | |
| * | Fixing various prompt issues with bash ReplWrapperjquast2014-06-072-11/+31
| |/ | | | | | | | | | | allow matching a regular expression, use setUp and tearDown to putenv & getenv PS1, PS2 unset PROMPT_COMMAND
* | PR #66: TypeError thrown by spawnu.readline()jquast2014-06-084-2/+24
|/ | | | | | | | Submitted by @auntieNeo, fixes exception, "TypeError: got <type 'str'> ('\r\n') as pattern" in spawnu.readline(). Bytes b'\r\n' was concatenated to u'unicode', causing an exception to be thrown when using readline().
* Tests for wrapping Python shellThomas Kluyver2014-06-041-1/+27
|
* Some more test coverage for fdpexpectThomas Kluyver2014-06-042-21/+9
|
* Mark a few unsupported code paths as not needed for test coverageThomas Kluyver2014-06-041-7/+7
|
* Test escaping interact modeThomas Kluyver2014-06-042-0/+3
|
* Add another test for ANSI terminal emulationThomas Kluyver2014-06-041-0/+11
|
* Remove pexpect.psh - it was undocumented and seemingly unusedThomas Kluyver2014-06-043-164/+5
| | | | Closes gh-66
* Merge pull request #63 from takluyver/use-pytestThomas Kluyver2014-06-0246-376/+67
|\ | | | | Use py.test for tests
| * Allow subprocess tests to import pexpectThomas Kluyver2014-06-012-3/+9
| |
| * Use no_coverage_env() in some more testsThomas Kluyver2014-06-014-9/+12
| |
| * Don't install into virtualenv in Travis - test local copyThomas Kluyver2014-06-011-1/+0
| |
| * Ignore coverage env var if not setThomas Kluyver2014-06-011-1/+1
| |
| * Skip performance tests on PyPyThomas Kluyver2014-06-011-0/+3
| |
| * Don't try to measure coverage in some Python subprocessesThomas Kluyver2014-06-011-3/+8
| |
| * Remove 'make test' targetThomas Kluyver2014-06-011-2/+0
| |
| * Remove ancient script for testing on Sourceforge compile farm (long since gone)Thomas Kluyver2014-06-011-71/+0
| |
| * Remove old test runner machineryThomas Kluyver2014-06-012-117/+0
| |
| * Update DEVELOPERS fileThomas Kluyver2014-06-013-53/+13
| |
| * Use py.test on TravisThomas Kluyver2014-06-011-4/+2
| |
| * Fix imports in tests for Python 3Thomas Kluyver2014-06-0121-21/+22
| | | | | | | | Closes gh-59
| * Don't rely on environment variable set in test.envThomas Kluyver2014-06-011-3/+3
| |
| * Rename platform checks so py.test doesn't try to run themThomas Kluyver2014-06-016-0/+0
| |
| * Move (/remove) platform_tests folder which doesn't contain real testsThomas Kluyver2014-06-0113-96/+2
| |
* | Merge pull request #46 from a-tal/masterJeff Quast2014-06-011-2/+0
|\ \ | |/ |/| remove redundant raise in __pty_make_controlling_tty()
| * removes excepted raisea-tal2014-04-031-2/+0
| |
* | Merge pull request #62 from pexpect/pull-37-try-3Jeff Quast2014-06-0126-54/+121
|\ \ | | | | | | folders should not be returned by pexpect.which()
| * | rewrite historyjquast2014-06-011-4/+1
| | |
| * | remove all unnecessary importsjquast2014-06-0123-46/+45
| | |
| * | folders should not be returned by pexpect.which()jquast2014-06-014-9/+80
|/ /
* | Merge pull request #51 from takluyver/replwrapThomas Kluyver2014-05-315-3/+167
|\ \ | | | | | | Add high level API for wrapping REPLs
| * | Use bash for testing replwrap, avoiding PyPy's different REPLThomas Kluyver2014-05-312-16/+16
| | |
| * | Try fixing Travis test runsThomas Kluyver2014-05-181-2/+2
| | |
| * | Use explicit positional string formatting for Python 2.6Thomas Kluyver2014-05-182-3/+3
| | |
| * | Update replwrap docsThomas Kluyver2014-05-182-2/+8
| | |
| * | Format the new prompts into the prompt change command, simplifying ↵Thomas Kluyver2014-05-181-6/+5
| | | | | | | | | | | | instantiation of a REPLWrapper
| * | Fix another unicode literal for Python 3.2Thomas Kluyver2014-05-181-1/+1
| | |