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 jesstess
Recipients BreamoreBoy, brett.cannon, dstanek, jesstess, pitrou, r.david.murray, roysmith, thomas.holmes
Date 2010-11-15.04:04:32
SpamBayes Score 0.000151936
Marked as misclassified No
Message-id <1289793876.46.0.757680234219.issue7325@psf.upfronthosting.co.za>
In-reply-to
Content
Thomas, I think the weirdness you were sensing when trying to adapt the nameCheck calls in test__RandomNameSequence after adding the abspath check is that those test cases really don't need nameCheck.

For example, test_get_six_char_str should be testing that _RandomNameSequence returns something that is both a string and 6 characters, not properties of some path manufactured around it.

I've attached a patch based on Thomas's that factors out the string check in nameCheck and has the tests in test__RandomNameSequence just use the string check.

The patch is against release27-maint.
History
Date User Action Args
2010-11-15 04:04:36jesstesssetrecipients: + jesstess, brett.cannon, roysmith, pitrou, dstanek, r.david.murray, thomas.holmes, BreamoreBoy
2010-11-15 04:04:36jesstesssetmessageid: <1289793876.46.0.757680234219.issue7325@psf.upfronthosting.co.za>
2010-11-15 04:04:33jesstesslinkissue7325 messages
2010-11-15 04:04:33jesstesscreate