summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_client.py5
1 files changed, 1 insertions, 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)