Chris Angelico added the comment: Hmm, strange. Comma formatting never seems to have had tests added. So I've added a couple of simple tests of comma formatting at the same time as adding underscore formatting tests. Also, test_long.py currently has a comment "# octal" preceding a bunch of tests of *binary* formatting, and no tests of octal. So I've added those too.
In any case, here's a patch with full functionality and tests. ---------- Added file: http://bugs.python.org/file44154/underscores_with_tests.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27080> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com