[pygr-notify] Issue 78 in pygr: Get rid of vague or imprecise error messages from tests

codesite-noreply at google.com codesite-noreply at google.com
Thu Mar 26 12:32:28 PDT 2009


Comment #1 on issue 78 by marecki: Get rid of vague or imprecise error  
messages from tests
http://code.google.com/p/pygr/issues/detail?id=78

If runtest.py is launched without the option -b and no in-place-build files  
can be
found, it responds with

ERROR pathfix.stop: unable to import extension module: cannot import name  
cnestedlist

Given this error will likely be run into almost all end users trying to run  
tests,
such a cryptic response is unacceptable. I would like to postulate the  
following
steps to be taken to address this:

1. Whenever runtest.py is launched, have it clearly and explicitly say  
where it
pulls Pygr files from (this will also help for when -b is omitted with  
stale in-
place-build files in place);

2. Make the actual error message more descriptive;

3. Consider making in-place testing an option rather than the default, at  
least in
official release packages.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings



More information about the pygr-notify mailing list