be consistent with arguments to assert_throws