summaryrefslogtreecommitdiff
path: root/tests/util.py
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2014-07-12 22:14:14 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2014-07-12 22:14:14 +0900
commite2ed97031d847f6615cd34535f7b331d93d2884d (patch)
tree28b05818eb45af0472876bf6daba565663b9a8e8 /tests/util.py
parent91709946d670900efa2c3c13b2a3c87bbfcc3d8f (diff)
downloadsphinx-git-e2ed97031d847f6615cd34535f7b331d93d2884d.tar.gz
use test generator nosetests feature.
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/util.py b/tests/util.py
index 841875b04..61c9bd0d4 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -186,6 +186,9 @@ class TestApp(application.Sphinx):
for tree in self.cleanup_trees:
shutil.rmtree(tree, True)
+ def __repr__(self):
+ return '<%s buildername=%r>' % (self.__class__.__name__, self.builder.name)
+
def with_app(*args, **kwargs):
"""