]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix for PyPy 1889/head
authorAntoine Pitrou <antoine@python.org>
Tue, 15 Nov 2016 11:41:16 +0000 (12:41 +0100)
committerAntoine Pitrou <antoine@python.org>
Tue, 15 Nov 2016 11:41:16 +0000 (12:41 +0100)
tornado/test/concurrent_test.py

index 92a4a62d6c58eaefe7bb656e8eb6b7b972a993bb..4e5118b173900a564ff606685c0b52b54bc4bb45 100644 (file)
@@ -15,6 +15,7 @@
 # under the License.
 from __future__ import absolute_import, division, print_function, with_statement
 
+import gc
 import logging
 import re
 import socket
@@ -187,6 +188,7 @@ class ReturnFutureTest(AsyncTestCase):
             yield gen.moment
             yield gen.moment
             del g
+            gc.collect()  # for PyPy
 
 
 # The following series of classes demonstrate and test various styles