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.

classification
Title: Test for issue2222 (r65745)
Type: Stage:
Components: Tests Versions: Python 3.0, Python 2.6, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, ocean-city
Priority: normal Keywords: patch

Created on 2008-09-08 19:08 by ocean-city, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_for_issue2222.patch ocean-city, 2008-09-08 19:08
test_for_issue2222.patch ocean-city, 2008-09-08 22:21 revised
Messages (5)
msg72786 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2008-09-08 19:08
This test is for issue2222. (I didn't know sys.getrefcount)
This test doesn't cover the case like os.rename(str, int), but it might
be better than no tests.
msg72792 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-09-08 21:51
I think you should put test_rename in FileTests. Then we can write real
tests for os.rename sometimes else.
msg72796 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2008-09-08 22:21
OK, this is revised patch.
msg72797 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-09-08 22:22
Ok. I think the patch is fine. (Please don't merge it yet, though. I'm
working on a merge now.)
msg72807 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2008-09-08 23:42
Thanks, fixed in r66316(trunk), r66318(release25-maint), r66320(py3k)
History
Date User Action Args
2022-04-11 14:56:38adminsetgithub: 48054
2008-09-08 23:42:38ocean-citysetstatus: open -> closed
resolution: fixed
messages: + msg72807
2008-09-08 22:22:41benjamin.petersonsetkeywords: - needs review
messages: + msg72797
2008-09-08 22:21:01ocean-citysetfiles: + test_for_issue2222.patch
messages: + msg72796
2008-09-08 21:51:36benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg72792
2008-09-08 19:08:04ocean-citycreate