From fb5ea3811e6cc93eb005f29e56359a80436bdd0c Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 30 Sep 2014 09:23:48 -0700 Subject: 2 is really enough --- tests/test_client.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_client.py b/tests/test_client.py index 5f16e3cf..e901d737 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -291,13 +291,10 @@ class SSHClientTest (unittest.TestCase): del self.tc # force a collection to see whether the SSHClient object is deallocated - # correctly; 5 GCs are needed to make sure it's really collected on + # correctly. 2 GCs are needed to make sure it's really collected on # PyPy gc.collect() gc.collect() - gc.collect() - gc.collect() - gc.collect() self.assertTrue(p() is None) -- cgit v1.2.3