diff tests/test_ini.txt @ 69:b9d9a94bfa19

override section now works
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 09 Jun 2011 09:36:08 -0700
parents f0f3525486db
children 20bdb8125817
line wrap: on
line diff
--- a/tests/test_ini.txt	Thu Jun 09 09:29:06 2011 -0700
+++ b/tests/test_ini.txt	Thu Jun 09 09:36:08 2011 -0700
@@ -48,3 +48,9 @@
     '%(fibonacci)s'
     >>> [fib(i) for i in range(6)]
     ['one', 'one', 'two', 'three', 5, 8]
+
+Override a section with additional arguments, [bar:fibonacci], n=5::
+
+    >>> bar = inifactory.load('bar')
+    >>> bar # [1,1,2,3,5,8][5]
+    8