diff options
Diffstat (limited to 'tests/path.py')
-rwxr-xr-x | tests/path.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/path.py b/tests/path.py index 2a4affe77..3e2c8f89e 100755 --- a/tests/path.py +++ b/tests/path.py @@ -36,6 +36,9 @@ class path(text_type): """ return self.__class__(os.path.dirname(self)) + def basename(self): + return os.path.basename(self) + def abspath(self): """ Returns the absolute path. |