diff options
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) |