-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation how to run refleak tests with pydebug build of CPython and pytest-refleak. Refleak testing runs each unit test multiple times. Some small changes are required to clean up after each test cycle and to avoid extra references. * Only create logging structure for SlapdObject once. The logging framework creates reference cycles that cause false positives. * Clean up and remove atexit handlers in SlapdObject.stop() * Remove new entries at the end of each test, either with an explicit delete_s() or an write area, which is removed in tearDown(). https://github.com/python-ldap/python-ldap/pull/41 Signed-off-by: Christian Heimes <cheimes@redhat.com>
- Loading branch information
Christian Heimes
authored and
Petr Viktorin
committed
Nov 28, 2017
1 parent
03d09f0
commit 54a286b
Showing
4 changed files
with
129 additions
and
23 deletions.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters