From 4e836b43229e3f0d65c5595403df87c3f9b49775 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 15 Nov 2016 12:41:16 +0100 Subject: [PATCH] Fix for PyPy --- tornado/test/concurrent_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tornado/test/concurrent_test.py b/tornado/test/concurrent_test.py index 92a4a62d6..4e5118b17 100644 --- a/tornado/test/concurrent_test.py +++ b/tornado/test/concurrent_test.py @@ -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 -- 2.47.2