[tor-commits] [bridgedb/master] Removed doctest from bridgedb.test.ParseNetworkStatusRLineTests.

isis at torproject.org isis at torproject.org
Sun Jan 12 06:06:35 UTC 2014


commit f24240f4ad72d1c9df5a52aa82fd9e28965ede65
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Dec 20 07:03:22 2013 +0000

    Removed doctest from bridgedb.test.ParseNetworkStatusRLineTests.
---
 lib/bridgedb/test/test_parse_networkstatus.py |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/lib/bridgedb/test/test_parse_networkstatus.py b/lib/bridgedb/test/test_parse_networkstatus.py
index 6d78d41..46bd90d 100644
--- a/lib/bridgedb/test/test_parse_networkstatus.py
+++ b/lib/bridgedb/test/test_parse_networkstatus.py
@@ -74,15 +74,10 @@ class ParseNetworkStatusRLineTests(unittest.TestCase):
         """Concatenate parameters into an 'r'-line and store the result as
         ``self.line``.
 
-        To create an invalid networkstatus 'r'-line, for example with an
-        invalid IP address, use me like this:
-
-        >>> makeRLine(ip='0.0.0.0')
-
         :keywords: The keyword arguments may be any of the class variables,
-            i.e. 'nick' or 'ident', and the variables should be similar to the
-            defaults in the class variables. If not given as parameters, the
-            class variables will be used.
+                   i.e. 'nick' or 'ident', and the variables should be similar
+                   to the defaults in the class variables. If not given as
+                   parameters, the class variables will be used.
         """
         line = []
         for kw in ('pre', 'nick', 'ident', 'desc', 'ts', 'ip', 'port', 'dirp'):





More information about the tor-commits mailing list