|
From: <sub...@co...> - 2008-05-20 15:18:33
|
Author: ianb
Date: 2008-05-20 09:18:38 -0600 (Tue, 20 May 2008)
New Revision: 3448
Modified:
FormEncode/trunk/tests/non_empty.txt
Log:
minor tweak to some foreach doctests
Modified: FormEncode/trunk/tests/non_empty.txt
===================================================================
--- FormEncode/trunk/tests/non_empty.txt 2008-05-20 15:17:59 UTC (rev 3447)
+++ FormEncode/trunk/tests/non_empty.txt 2008-05-20 15:18:38 UTC (rev 3448)
@@ -53,7 +53,9 @@
>>> from formencode.validators import Int
>>> foreach = ForEach(Int())
>>> foreach.to_python('')
+[]
>>> foreach.to_python(None)
+[]
>>> foreach.to_python('1')
[1]
>>> foreach.to_python('2')
|