Commit 1110596a authored by Jim Fulton's avatar Jim Fulton

Close handlers created in tests. Unclosed handlers leak in some

versions of Python.  We don't want spurious leaks when checking for
ZODB leaks.
parent 0c0cb2b2
......@@ -348,6 +348,7 @@ Works with savepoints too:
>>> logger.propagate = True
>>> logger.setLevel(0)
>>> logger.removeHandler(handler)
>>> handler.close()
>>> database.close()
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment