I wonder if it's worthwhile to make this a matcher(something like `should raise_instance_of(NameError)`), since it is done in a lot of places.