Use errno.EDEADLK instead of errno.EDEADLOCK

EDEADLOCK doesn't exist on Darwin, but EDEADLK is equivalent on
Linux.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #5 from bfirsh/fix-edeadlock-not-on-os-x

Use errno.EDEADLK instead of errno.EDEADLOCK
Version bump -> 0.2.3
Write a less fragile test
Add reprs, a tox.ini, and fix expects version.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Merge pull request #9 from dnephin/add_reprs

Add reprs, a tox.ini, and fix expects version
Add Daniel to list of contributors.
Remove gittip button
Migrated to expects v0.4.x
Merge pull request #10 from jaimegildesagredo/expects-04

Migrated to expects v0.4.x
Resolves #11 - test failure on master due to race.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Use a higher timeout, and wait for all streams to be finished before closing pty.
also wait on all pumps.
Merge pull request #16 from dnephin/increase_timeout_for_pty

Increase timeout for pty
Version bump -> 0.2.4
Merge pull request #15 from dnephin/fix_frenetic_resize_test

Fix test failure on master due to race when resizing frequently