[issue20008] Clean up/refactor/make discoverable test_decimal

Stefan Krah report at bugs.python.org
Wed Dec 18 12:57:24 CET 2013


Stefan Krah added the comment:

Assigning to myself, since my private 100% coverage test suite
would have to be updated as well.

I have just glanced at the patch and only have some superficial
remarks:

In any case, I would prefer a patch without stylistic changes. Elimination of "return" is a personal preference, so are the
whitespace changes.

Listing the tests explicitly is sometimes helpful, e.g. one can
comment out tests when tracking down a refleak.


Curiously enough, testing with a "polluted" context is also useful,
since all functions must handle contexts with flags that are already
set.


Finally, I *suspect* no one is using the command line arguments any
more.  They were probably used heavily during the design phase of
decimal.py.

----------
assignee:  -> skrah

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20008>
_______________________________________


More information about the Python-bugs-list mailing list