Incremental housekeeping cleanup of test_misc.py
Incremental housekeeping cleanup of test_misc.py

- standard/local import grouping
- docstring every test
- pep8 formatting
- remove custom assertion messages
- Separate tests to individual groups
- Remove unnecessary time.sleep() calls
- use echo=False parameter, avoiding testing
  combinations of mixed input+output, and removing
  the need to document this strange combination.
- programmatically test searcher_re/_string
- prefer assertRaises/assertRaisesRegexp
- use tempfile.gettempdir() instead of /tmp

crdoconnor/pexpect,nodish/pexpect,crdoconnor/pexpect,Wakeupbuddy/pexpect,Depado/pexpect,Wakeupbuddy/pexpect,Depado/pexpect,Wakeupbuddy/pexpect,bangi123/pexpect,Depado/pexpect,dongguangming/pexpect,dongguangming/pexpect,bangi123/pexpect,nodish/pexpect,dongguangming/pexpect,Depado/pexpect,blink1073/pexpect,Wakeupbuddy/pexpect,crdoconnor/pexpect,bangi123/pexpect,quatanium/pexpect,blink1073/pexpect,quatanium/pexpect,dongguangming/pexpect,nodish/pexpect,bangi123/pexpect,quatanium/pexpect,blink1073/pexpect