This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author francismb
Recipients eric.araujo, eric.smith, francismb, ncoghlan, terry.reedy
Date 2012-02-22.22:11:08
SpamBayes Score 1.1651881e-09
Marked as misclassified No
Message-id <1329948669.04.0.565570327579.issue14019@psf.upfronthosting.co.za>
In-reply-to
Content
I have some questions about this:

1) In Lib/test/string_tests.py it says:
“Common tests shared by test_str, test_unicode, test_userstring and
test_string”

but

   a) I cannot find test_str

   b) string is imported and only some constants ascii_letters
   and digits are used

   c) In test_join there is a comment “see the test in
   test.test_string.StringTest.test_join” Is that obsolete?
   (I cannot find StringTest in the test_string test)

2) Is there more tests for the build in format (in
test_buildin.BuiltinTest.test_format only the basic machinery is tested.
I would expect something like in test_format.py somewhere

3) it is true that all tests for the build in 'format' should also pass 
in 'string.Formatter().format'

Thanks in advance!

francis
History
Date User Action Args
2012-02-22 22:11:09francismbsetrecipients: + francismb, terry.reedy, ncoghlan, eric.smith, eric.araujo
2012-02-22 22:11:09francismbsetmessageid: <1329948669.04.0.565570327579.issue14019@psf.upfronthosting.co.za>
2012-02-22 22:11:08francismblinkissue14019 messages
2012-02-22 22:11:08francismbcreate