[pypy-svn] r61492 - pypy/trunk/lib-python/modified-2.5.2/test

antocuni at codespeak.net antocuni at codespeak.net
Sun Feb 1 13:43:39 CET 2009


Author: antocuni
Date: Sun Feb  1 13:43:37 2009
New Revision: 61492

Added:
   pypy/trunk/lib-python/modified-2.5.2/test/test_urllib2_localnet.py
      - copied, changed from r61459, pypy/trunk/lib-python/2.5.2/test/test_urllib2_localnet.py
Log:
make sure that the resources acquired by the thread are really released before
going on



Copied: pypy/trunk/lib-python/modified-2.5.2/test/test_urllib2_localnet.py (from r61459, pypy/trunk/lib-python/2.5.2/test/test_urllib2_localnet.py)
==============================================================================
--- pypy/trunk/lib-python/2.5.2/test/test_urllib2_localnet.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_urllib2_localnet.py	Sun Feb  1 13:43:37 2009
@@ -248,6 +248,8 @@
 
     def tearDown(self):
         self.server.stop()
+        import gc
+        gc.collect()
 
     def test_proxy_with_bad_password_raises_httperror(self):
         self._digest_auth_handler.add_password(self.REALM, self.URL,



More information about the Pypy-commit mailing list