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 that touch doesn't change file contents
Type: enhancement Stage: resolved
Components: Tests Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, kushal.das, pitrou, python-dev
Priority: normal Keywords: easy, patch

Created on 2013-11-22 17:43 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue19716_v1.patch kushal.das, 2013-11-23 06:51 Patch to check no change in file content after pathlib.touch()
Messages (5)
msg203818 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-11-22 17:43
Path.touch() shouldn't change a file's contents, but this is currently not tested for by test_pathlib.
msg203837 - (view) Author: Kushal Das (kushal.das) * (Python committer) Date: 2013-11-22 19:01
i will submit a patch tomorrow.
msg203972 - (view) Author: Kushal Das (kushal.das) * (Python committer) Date: 2013-11-23 06:51
Patch to check no change in file content after pathlib.touch().
msg204014 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-23 13:53
New changeset 11a200202d7a by Antoine Pitrou in branch 'default':
Issue #19716: add a test that Path.touch() doesn't change a file's contents.
http://hg.python.org/cpython/rev/11a200202d7a
msg204015 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-11-23 13:53
Thank you! I've committed after a tiny simplification.
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 63915
2013-11-23 13:53:44pitrousetstatus: open -> closed
resolution: fixed
messages: + msg204015

stage: resolved
2013-11-23 13:53:11python-devsetnosy: + python-dev
messages: + msg204014
2013-11-23 06:51:40kushal.dassetfiles: + issue19716_v1.patch
keywords: + patch
messages: + msg203972
2013-11-22 21:01:37eric.araujosetnosy: + eric.araujo
2013-11-22 19:01:59kushal.dassetnosy: + kushal.das
messages: + msg203837
2013-11-22 17:43:31pitroucreate