Possibly a bug in ForEach

"Adam Dziendziel" <[email protected]> Thu, 3 Apr 2008 23:44:19 +0200
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
Hello everybody,

in 1.0.0, 1.0.1 and the trunk:

self.assertEqual(ForEach(Validator()).from_python(list(['a'])), ['a'])
self.assertEqual(ForEach(Validator()).from_python(list()), [])

The first test passes, the second doesn't.

-- 
Regards,
Adam Dziendziel

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace