def last_author_male(pmids): first_names = last_author_first_name(pmids) male = gender.is_male(first_names) return (male)
def test_is_male(self): response = gender.is_male(gold_query) assert_equals(response, ['0', '1', '0'])
def last_author_male(pmids): first_names = last_author_first_name(pmids) male = gender.is_male(first_names) return(male)