def test_singularize(self): wl = WordList(['dogs', 'cats', 'buffaloes', 'men', 'mice']) assert_equal(wl.singularize(), ['dog', 'cat', 'buffalo', 'man', 'mouse' ])