Mercurial > python-hglib
view test.py @ 146:8d7bf729a4db
hglib: use io.BytesIO when available (issue4520)
Since cStringIO.StringIO is not available in Python 3, try to use
io.BytesIO when available.
author | Brett Cannon <brett@python.org> |
---|---|
date | Fri, 13 Mar 2015 11:34:52 -0400 |
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()])