Pylons/webtest — pull request #19 by kilink (2012-11-27 00:37:23+00:00)
Title: Fix PyPy issue

This fixes one of the issues with running the tests on PyPy (issue #11), mainly that a socket
for the WSGI server started in the CasperJS tests wasn't explicitly closed.

I also added a check for Fatal errors encountered when running PhantomJS (e.g., when the binary is not marked executable).

Even with this fix, there are at least 2 other issues I encountered when running the tests under
PyPy:

* The PhantomJS buildout recipe on pypi seems busted, and does not chmod the PhantomJS binary even though its changelog indicates it is supposed to.
* Another test fails because lxml is not built.