Failed example:
p.parse_name('Adams, Michael')
# doctest: +NORMALIZE_WHITESPACE
Expected:
{'first_name': 'Michael', 'last_name': 'Adams','initials': 'MA'}
Got:
{'first_name': 'Michael', 'last_name': 'Adams', 'initials': 'MA'}
文档字符串是 -
>>> p.parse_name('Adams, Michael')
... # doctest: +NORMALIZE_WHITESPACE
{'first_name': 'Michael', 'last_name': 'Adams','initials': 'MA'}