Jessica McKellar <jesst...@mit.edu> added the comment: 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. ---------- nosy: +jesstess title: tempfile.mkdtemp() does not return absolute pathname when dir is specified -> tempfile.mkdtemp() does not return absolute pathname when relative dir is specified Added file: http://bugs.python.org/file19610/issue7325.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7325> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com