summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorscoder <none@none>2007-10-29 20:01:50 +0100
committerscoder <none@none>2007-10-29 20:01:50 +0100
commitf140e5ed21d3b84c4b5c60dd53aee50f9371f3c3 (patch)
tree3cb14b28b1291edbfc3a6dbb186035ba70c521d1 /test.py
parent68290e83a2b01241d5cb0e19ff25dddf101d6adb (diff)
downloadpython-lxml-f140e5ed21d3b84c4b5c60dd53aee50f9371f3c3.tar.gz
[svn r3019] move gc.collect() into tearDown() methods in tests to run it after each test
--HG-- branch : trunk
Diffstat (limited to 'test.py')
-rw-r--r--test.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test.py b/test.py
index a1e01baa..6c90bcdb 100644
--- a/test.py
+++ b/test.py
@@ -63,8 +63,6 @@ Options:
# and cleaner though, at the expense of more limited functionality.
#
-import gc
-
import re
import os
import sys
@@ -418,7 +416,6 @@ class CustomTestRunner(unittest.TextTestRunner):
test(result)
stopTime = time.time()
timeTaken = float(stopTime - startTime)
- gc.collect()
result.printErrors()
run = result.testsRun
if not self.cfg.quiet: