[wwwsearch-commits] r21664 - in wwwsearch/ClientCookie/trunk: ClientCookie test

jjlee at codespeak.net jjlee at codespeak.net
Mon Jan 2 23:42:38 CET 2006


Author: jjlee
Date: Mon Jan  2 23:42:37 2006
New Revision: 21664

Modified:
   wwwsearch/ClientCookie/trunk/ClientCookie/_Util.py
   wwwsearch/ClientCookie/trunk/test/test_misc.py
Log:
Nits left over from seek_wrapper fix

Modified: wwwsearch/ClientCookie/trunk/ClientCookie/_Util.py
==============================================================================
--- wwwsearch/ClientCookie/trunk/ClientCookie/_Util.py	(original)
+++ wwwsearch/ClientCookie/trunk/ClientCookie/_Util.py	Mon Jan  2 23:42:37 2006
@@ -374,13 +374,12 @@
 # instead, but I think he's released his code publicly since, could pinch the
 # tests from it, at least...
 
-# for testing seek_wrapper invariant
-# module ipdc is here:
+# For testing seek_wrapper invariant (note that
+# test_urllib2.HandlerTest.test_seekable is expected to fail when this
+# invariant checking is turned on).  The invariant checking is done by module
+# ipdc, which is available here:
 # http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/436834
-## try:
-##     from ipdbc import ContractBase
-## except ImportError:
-##     pass
+## from ipdbc import ContractBase
 ## class seek_wrapper(ContractBase):
 class seek_wrapper:
     """Adds a seek method to a file object.

Modified: wwwsearch/ClientCookie/trunk/test/test_misc.py
==============================================================================
--- wwwsearch/ClientCookie/trunk/test/test_misc.py	(original)
+++ wwwsearch/ClientCookie/trunk/test/test_misc.py	Mon Jan  2 23:42:37 2006
@@ -31,7 +31,6 @@
         except ImportError:
             from ClientCookie._ClientCookie import StopIteration
         from ClientCookie._Util import seek_wrapper
-        from ClientCookie._Debug import warn
         text = """\
 The quick brown fox
 jumps over the lazy


More information about the wwwsearch-commits mailing list