annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76
37307caccf54 add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff changeset
1 #!/usr/bin/env python
37307caccf54 add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff changeset
2
37307caccf54 add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff changeset
3 import nose
37307caccf54 add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff changeset
4 from tests import with_hg
37307caccf54 add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff changeset
5
37307caccf54 add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff changeset
6 if __name__ == '__main__':
37307caccf54 add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff changeset
7 nose.main(addplugins=[with_hg.WithHgPlugin()])