diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-02-24 02:11:46 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-02-24 02:12:09 +0900 |
commit | 13a48d330c4860f52a89ca910c5b4103dd710814 (patch) | |
tree | 7f50a354adc95523e2b177f97493243462457f74 /tests/path.py | |
parent | b352927b376de69dc9e916e9aa1671c1b7fd9025 (diff) | |
download | sphinx-git-13a48d330c4860f52a89ca910c5b4103dd710814.tar.gz |
Fix #3438: update timestamp certainly to ensure test condition
Diffstat (limited to 'tests/path.py')
-rwxr-xr-x | tests/path.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/path.py b/tests/path.py index 3c574f0c8..6af9ae105 100755 --- a/tests/path.py +++ b/tests/path.py @@ -123,6 +123,12 @@ class path(text_type): """ os.unlink(self) + def stat(self): + """ + Returns a stat of the file. + """ + return os.stat(self) + def utime(self, arg): os.utime(self, arg) |