changeset 3407:c3aa12fcdf12

add a parser test about leading None arguments
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sat, 22 Mar 2008 11:54:56 +0100
parents ccdd2bbf76f7
children 7fd796b2e573
files MoinMoin/_tests/test_wikiutil.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_wikiutil.py	Sat Mar 22 05:26:32 2008 +0100
+++ b/MoinMoin/_tests/test_wikiutil.py	Sat Mar 22 11:54:56 2008 +0100
@@ -374,6 +374,7 @@
             (u'("a" ("b" "c"))', None, None, [[u'(', u'a', [u'(', u'b', u'c']]]),
             (u'("a"("b", "c") ) ', u',', None, [[u'(', u'a', [u'(', u'b', u'c']]]),
             (u'("a", <"b", ("c")>)', u',', None, [[u'(', u'a', [u'<', u'b', [u'(', u'c']]]]),
+            (u',,,(a, b, c)', u',', None, [None, None, None, [u'(', u'a', u'b', u'c']]),
         ]
 
         def _check(args, sep, kwsep, expected):