diff --git a/ChangeLog b/ChangeLog index 3bc784474..eb3ff2e62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-08 Jim Sack + src/gen/utils/test/callback_test.py : add comment about + intentional Error from call to undefined function + 2008-01-08 Benny Malengier * src/ArgHandler.py: bug with tarfile exceptions diff --git a/src/gen/utils/test/callback_test.py b/src/gen/utils/test/callback_test.py index c0f227374..9c1d501f8 100644 --- a/src/gen/utils/test/callback_test.py +++ b/src/gen/utils/test/callback_test.py @@ -43,6 +43,11 @@ class TestGrampsDBCallback(unittest.TestCase): rl.append(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) t = TestSignals()