# HG changeset patch # User cat@eee # Date 1266033461 18000 # Node ID 45e70737791f8becbc0c0e5cc831692736dcdea3 # Parent 49bea7cab179185c7141be55daed984ccb4bfabe unit tests fixed diff -r 49bea7cab179 -r 45e70737791f cmd2.py --- a/cmd2.py Fri Feb 12 22:15:04 2010 -0500 +++ b/cmd2.py Fri Feb 12 22:57:41 2010 -0500 @@ -281,10 +281,10 @@ [('large', 'gross'), ('small', 'klein')] >>> d.append(['plain', ' plaid']) >>> sorted(d.items()) - [('large', 'gross'), ('plaid', None), ('plain', None), ('small', 'klein')] + [('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')] >>> d += ' girl Frauelein, Maedchen\\n\\n shoe schuh' >>> sorted(d.items()) - [('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', None), ('plain', None), ('shoe', 'schuh'), ('small', 'klein')] + [('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')] ''' def update(self, arg): dict.update(self, StubbornDict.to_dict(arg)) @@ -327,7 +327,7 @@ >>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items()) [('cow', 'a bovine'), ('horse', 'an equine')] >>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items()) - [('badger', None), ('porcupine', 'a poky creature')] + [('badger', ''), ('porcupine', 'a poky creature')] >>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items()) [('frog', 'jumpy'), ('turtle', 'has shell')] ''' diff -r 49bea7cab179 -r 45e70737791f docs/unfreefeatures.rst --- a/docs/unfreefeatures.rst Fri Feb 12 22:15:04 2010 -0500 +++ b/docs/unfreefeatures.rst Fri Feb 12 22:57:41 2010 -0500 @@ -212,3 +212,5 @@ Sauce? 2 wheaties with salty sauce, yum! +``color`` +=========