changeset 333:45e70737791f

unit tests fixed
author cat@eee
date Fri, 12 Feb 2010 22:57:41 -0500
parents 49bea7cab179
children 99dd71cb477a
files cmd2.py docs/unfreefeatures.rst
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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')]
     '''
--- 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``
+=========