[issue10213] tests shouldn't fail with unset timezone

R. David Murray report at bugs.python.org
Wed Oct 27 16:48:59 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

My first reaction to this was the feeling that the error message was correct and appropriate :)

But it is true that since it doesn't represent a failure in Python itself it shouldn't be reported as a failure.  The test should be skipped, though, rather than just doing a continue, so that it appears as a skip in verbose test output.  (You do that by raising a unittest.SkipTest exception.)

----------
nosy: +r.david.murray
type:  -> behavior
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

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


More information about the Python-bugs-list mailing list