[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Skip doctest in bridgedb.test.util; cannot make doctest classes.
commit 98c37c2f25831466f644f8b836293cf3c4c672ca
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Fri Dec 20 07:04:06 2013 +0000
Skip doctest in bridgedb.test.util; cannot make doctest classes.
---
lib/bridgedb/test/util.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/test/util.py b/lib/bridgedb/test/util.py
index a09c0d1..a8c6903 100644
--- a/lib/bridgedb/test/util.py
+++ b/lib/bridgedb/test/util.py
@@ -23,7 +23,7 @@ from functools import wraps
def fileCheckDecorator(func):
"""Method decorator for a t.t.unittest.TestCase test_* method.
- >>> import shutil
+ >>> import shutil # doctest: +SKIP
>>> from twisted.trial import unittest
>>> pyunit = __import__('unittest')
>>> class TestTests(unittest.TestCase):
@@ -43,7 +43,7 @@ def fileCheckDecorator(func):
:type func: callable
:param func: The ``test_*`` method, from a
- :api:`twisted.trial.unittest.TestCase` instance, to wrap.
+ :api:`twisted.trial.unittest.TestCase` instance, to wrap.
"""
@wraps(func)
def wrapper(self, src, dst, description):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits