diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-08-10 22:23:52 +0900 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-08-10 22:23:52 +0900 |
commit | ed9de1c9e8cba940a721bad5455457894f4f2c97 (patch) | |
tree | 58f9c6a280eaf0c3dce2c5239fee1dd6d2aef0f1 /tests/path.py | |
parent | 14353b30c20ca5d34bbfade4d0b71330d377e870 (diff) | |
download | sphinx-git-ed9de1c9e8cba940a721bad5455457894f4f2c97.tar.gz |
* provide _copy_to_temp option for TestApp()
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. |