Add test for failure of the getattr call in pcre_expand() -- it used to core dump if the first argument did not have a "group" attribute.
Add test for failure of the getattr call in pcre_expand() -- it used
to core dump if the first argument did not have a "group" attribute.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator