Mercurial > python-hglib
view test.py @ 89:351d2799f145
client: added context manager protocol methods
This allows client objects to be used with the 'with' statement and be closed
automatically when the 'with' context exits.
author | Jeff Laughlin <jmlaughlin@integrated-informatics.com> |
---|---|
date | Wed, 23 Nov 2011 09:57:37 -0500 |
parents | 37307caccf54 |
children |
line wrap: on
line source
#!/usr/bin/env python import nose from tests import with_hg if __name__ == '__main__': nose.main(addplugins=[with_hg.WithHgPlugin()])