We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff44043 commit f3be89cCopy full SHA for f3be89c
titlecase/tests.py
@@ -304,6 +304,7 @@ def abbreviation(word, **kwargs):
304
assert titlecase(s) == 'A Simple Tcp and Udp Wrapper'
305
assert titlecase(s, callback=abbreviation) == 'A Simple TCP and UDP Wrapper'
306
assert titlecase(s.upper(), callback=abbreviation) == 'A Simple TCP and UDP Wrapper'
307
+ assert titlecase(u'crème brûlée', callback=lambda x, **kw: x.upper()) == u'CRÈME BRÛLÉE'
308
309
310
def test_set_small_word_list():
0 commit comments