Skip to content

Commit

Permalink
Add versionchanged entry in slapdtest docs about context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Viktorin committed Apr 3, 2018
1 parent 55c96b9 commit ca705aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/slapdtest/_slapdtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ class SlapdObject(object):
An instance can be used as a context manager. When exiting the context
manager, the slapd server is shut down and the temporary data store is
removed.
.. versionchanged:: 3.1
Added context manager functionality
"""
slapd_conf_template = SLAPD_CONF_TEMPLATE
database = 'mdb'
Expand Down

0 comments on commit ca705aa

Please sign in to comment.