Mercurial > hg > pyloader
diff tests/test_ini.txt @ 75:20bdb8125817
inline wrapper arguments now seem to work....thats....uncanny
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 09 Jun 2011 18:31:13 -0700 |
parents | b9d9a94bfa19 |
children | 1339185cbd2d |
line wrap: on
line diff
--- a/tests/test_ini.txt Thu Jun 09 18:21:18 2011 -0700 +++ b/tests/test_ini.txt Thu Jun 09 18:31:13 2011 -0700 @@ -54,3 +54,9 @@ >>> bar = inifactory.load('bar') >>> bar # [1,1,2,3,5,8][5] 8 + +Test inline wrapper arguments, [extended-fibonacci:@:four=4,five=5:fibonacci]:: + + >>> extended = inifactory.load('extended-fibonacci') + >>> [extended(i) for i in range(6)] + ['one', 'one', 'two', 'three', 'five', 8]