Fixed catching ValueError (instead of AssertionError) since (un-patched) trunk throws a ValueError and 0.12.0 throws an AssertionError.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>