Mercurial > python-hglib
annotate test.py @ 152:0808bb03add5
util: don't try to use itertools.izip under Python 3 (issue4520)
In Python 3, itertools.izip became builtins.zip.
author | Brett Cannon <brett@python.org> |
---|---|
date | Fri, 20 Mar 2015 16:32:53 -0400 |
parents | 37307caccf54 |
children |
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()]) |