These two lines are redundant and can be removed; `assertRaisesRegexp` already checks that its a `ValueError`.