Mercurial > python-hglib
view test.py @ 145:f3c430afa598
hglib: abstract out use of cStringIO.StringIO (issue4520)
The cStringIO module does not exist in Python 3, but io.BytesIO does.
This change prepares for the use of io.BytesIO when available by
replacing all uses of cStringIO.StringIO with an object named BytesIO.
author | Brett Cannon <brett@python.org> |
---|---|
date | Fri, 13 Mar 2015 11:31:54 -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()])