add comment about int4entional undefined function

svn: r9755
This commit is contained in:
James G Sack 2008-01-08 21:45:06 +00:00
parent 7ebbb7825e
commit fb025aa2bd
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-01-08 Jim Sack <jgsack@san.rr.com>
src/gen/utils/test/callback_test.py : add comment about
intentional Error from call to undefined function
2008-01-08 Benny Malengier <benny.malengier@gramps-project.org> 2008-01-08 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py: bug with tarfile exceptions * src/ArgHandler.py: bug with tarfile exceptions

View File

@ -43,6 +43,11 @@ class TestGrampsDBCallback(unittest.TestCase):
rl.append(i) rl.append(i)
def borked(i): def borked(i):
"""
this intentionally raises a NameError exception
FIXME: could use an explanation
or perhaps some explicit Try/Except code
"""
rubish.append(i) rubish.append(i)
t = TestSignals() t = TestSignals()