aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r--Lib/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index b91d7328d41..bdc6b89e40c 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -6,6 +6,7 @@ if __name__ != 'test.support':
import contextlib
import errno
import functools
+import gc
import socket
import sys
import os
@@ -630,7 +631,6 @@ def gc_collect():
longer than expected. This function tries its best to force all garbage
objects to disappear.
"""
- import gc
gc.collect()
gc.collect()
gc.collect()