summaryrefslogtreecommitdiff
path: root/tests/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/path.py')
-rwxr-xr-xtests/path.py6
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)