[issue11754] Changed test to check calculated constants in test_string.py

Benjamin Peterson report at bugs.python.org
Tue Apr 5 00:12:16 CEST 2011


Benjamin Peterson <benjamin at python.org> added the comment:

Being rather circular, that doesn't seem to be a particularly useful test. (Not that the original is either.) It'd be more "correct" if you actually tested that hex numbers are contained within string.hexdigits, for example.

----------
nosy: +benjamin.peterson

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


More information about the Python-bugs-list mailing list