| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
although I am against most time.sleep()s and trying my best
to remove them where possible, there is no opposing
waitnoecho() function (perhaps we should supply one?).
|
| | |
|
| |
|
|
|
|
|
|
| |
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().
|
| |
|
|
| |
Closes gh-59
|
| | |
|
| | |
|
| |
|
|
| |
per issue #8; this will soon be resolved.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
-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.
|
| |
|
|
|
|
| |
indeed, older versions of python could read/write utf-8 files just fine, by using the codecs.open() function, which is pretty much the same thing as python3's io.open.
However, it does not supply a `newline' keyword -- it doesn't seem to matter, so we just `del' it in our dummy function, if used.
|
| |
|
|
| |
not even sure if pexpect can get as far back as python2.5, but its worth a shot.
|
| |
|
|
| |
here goes backwards compatibility testing for py2 versions -- though I have them all locally, trying for travis CI which would help identify problems going forward. I'm sure there is some six.PY3 things to work out yet, already noticed I need a from __future__ import for the 'with' contextmanager for python 2.5.
|
| |
|
|
| |
This causes various tests, that depend on cat(1) to fail on Mac OSX 10.8.5. These changes ensure that if ^D\x08\x08 ('^D', followed by '\b\b') is found, it is removed.
|
| | |
|
| |
|