New submission from Alicia Arlen <arlen...@yahoo.com>: Started from coverage.py results. Only 6 groups of lines did not have coverage. Since the Template class originated in PEP292, those tests were added in test_pep292.py. All Formatter class tests were added in test_string.py.
_invalid test (Lines 89-90): This error does not naturally occur, so the regex for pattern was overloaded to create the scenario where the format fails on the first character. _vformat test (line 174): Forced recursion_depth negative to raise the error. convert_field (lines 226, 299): Sent in appropriate convversion requests. get_field (lines 256-257, 259): Added fieldname variations to test getattr and getitem lookups. ---------- components: Tests files: string_test_coverage.diff keywords: patch messages: 130880 nosy: Alicia.Arlen, brian.curtin, georg.brandl priority: normal severity: normal status: open title: string.py increased test coverage type: behavior versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file21130/string_test_coverage.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11505> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com