Mercurial > hg > pyloader
comparison tests/test_ini.txt @ 33:48f61cea0a3c
test calling the thing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 07 Jun 2011 18:55:26 -0700 |
parents | b98cc94ffcfa |
children | a9eaf65d82c6 |
comparison
equal
deleted
inserted
replaced
32:b98cc94ffcfa | 33:48f61cea0a3c |
---|---|
11 Load it up:: | 11 Load it up:: |
12 | 12 |
13 >>> object = inifactory.load() | 13 >>> object = inifactory.load() |
14 >>> 'objects.py.StringMunge' in repr(object.__class__) | 14 >>> 'objects.py.StringMunge' in repr(object.__class__) |
15 True | 15 True |
16 | |
17 Call it:: | |
18 | |
19 >>> object('foobar') | |
20 'PRE!!!abfoor' |