Mercurial > hg > pyloader
changeset 85:418289c0fe3c
STUB: tests/test_call.txt tests/test_factory.txt
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 21 Mar 2014 21:50:16 -0700 |
parents | daf3a05a05fe |
children | 2c315267390b |
files | tests/test_call.txt tests/test_factory.txt |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_call.txt Fri Mar 21 21:29:24 2014 -0700 +++ b/tests/test_call.txt Fri Mar 21 21:50:16 2014 -0700 @@ -5,7 +5,7 @@ >>> from pyloader.invoke import call >>> options = {'badarg': 'bar', 'a': 7, 'b': 9, 'c': 10} - >>> def foo(a, b=1, c=2): + >>> def foo(a, b=1, c=2): ... return a + 10*b + 100*c >>> foo(7, 9, 10) 1097
--- a/tests/test_factory.txt Fri Mar 21 21:29:24 2014 -0700 +++ b/tests/test_factory.txt Fri Mar 21 21:50:16 2014 -0700 @@ -13,7 +13,7 @@ Make a configuration:: - >>> config = {'': {'path': objects + ':stringsort', 'args': ['foo', 'bar']}} + >>> config = {'': {'path': objects + ':stringsort', 'args': ['foo', 'bar']}} Load it:: @@ -32,4 +32,3 @@ >>> obj = factory.load() >>> obj('foobar') 'PRE:abfoor' -