mitsuhiko/werkzeug — pull request #173 by njl (2012-03-13 22:06:48+00:00)
Title: Fix #120, disable redis tests if no connection

If the redis library is installed, an attempt is made to automatically
run redis unit tests. This might not work if redis is not running,
not local, etc, etc, etc. This patch will attempt to connect to redis
after the redis import, and will set redis = None if an attempted
connection fails, skipping the unit tests for redis as a result.