@@ -40,7 +40,8 @@ that "Hon" can be parsed as a first name.
4040 nickname: ''
4141 ]>
4242 >>> from nameparser.config import CONSTANTS
43- >>> CONSTANTS.titles.remove('hon')
43+ >>> CONSTANTS.titles.remove('hon') # doctest: +ELLIPSIS
44+ SetManager(set([u'msgt', ..., u'adjutant']))
4445 >>> hn = HumanName("Hon Solo")
4546 >>> hn
4647 <HumanName : [
@@ -64,7 +65,8 @@ methods and each string will be added or removed.
6465
6566 >>> from nameparser import HumanName
6667 >>> from nameparser.config import CONSTANTS
67- >>> CONSTANTS.titles.add('dean', 'Chemistry')
68+ >>> CONSTANTS.titles.add('dean', 'Chemistry') # doctest: +ELLIPSIS
69+ SetManager(set([u'msgt', ..., u'adjutant']))
6870 >>> hn = HumanName("Assoc Dean of Chemistry Robert Johns")
6971 >>> hn
7072 <HumanName : [
@@ -89,7 +91,8 @@ the config on one instance could modify the behavior of another instance.
8991
9092 >>> from nameparser import HumanName
9193 >>> hn = HumanName("Dean Robert Johns")
92- >>> hn.C.titles.add('dean')
94+ >>> hn.C.titles.add('dean') # doctest: +ELLIPSIS
95+ SetManager(set([u'msgt', ..., u'adjutant']))
9396 >>> hn
9497 <HumanName : [
9598 title: 'Dean'
@@ -121,7 +124,8 @@ reference to the module-level config values with the behavior described above.
121124
122125 >>> from nameparser import HumanName
123126 >>> hn = HumanName("Dean Robert Johns", None)
124- >>> hn.C.titles.add('dean')
127+ >>> hn.C.titles.add('dean') # doctest: +ELLIPSIS
128+ SetManager(set([u'msgt', ..., u'adjutant']))
125129 >>> hn
126130 <HumanName : [
127131 title: 'Dean'
@@ -168,7 +172,8 @@ those changes with ``repr()``.
168172 suffix: ''
169173 nickname: ''
170174 ]>
171- >>> hn.C.titles.add(' dean' )
175+ >>> hn.C.titles.add(' dean' ) # doctest: +ELLIPSIS
176+ SetManager(set([u'msgt', ..., u'adjutant']))
172177 >>> hn
173178 <HumanName : [
174179 title: 'Dean'
0 commit comments