|
From: Jim V. <Jim...@no...> - 2005-12-13 17:19:11
|
Is interpolation supported in default specifications or is this a total
abuse of the package? If interpolations are supported, then I do not
understand how to make them work in the specification file. Here is the
output from the attached script:
<output>
sys.platform: win32
sys.version: 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310
32 bit (Intel)]
sys.getwindowsversion(): (5, 1, 2600, 2, 'Service Pack 2')
sys.winver: 2.4
configobj.__version__: 4.0.2
validate.__version__: 0.2.0
*** validation succeeded ***
Traceback (most recent call last):
File "C:\Documents and Settings\jim.vickroy\My
Documents\Projects\_experimental_\pythonutils\configobj\test-reader.py",
line 55, in ?
assert facts['interpolated string'] == 'fuzzy-man',
facts['interpolated string']
AssertionError: fuzzy-string(default="man")
</output>
Thanks,
-- jv
|