Mercurial > hg
changeset 23330:37c3731d8a58
test-ancestor: define a main function
We're going to add to it in upcoming patches.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sat, 15 Nov 2014 18:52:44 -0800 |
parents | c6cd4b8b76f8 |
children | 3b1b8f25443e |
files | tests/test-ancestor.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-ancestor.py Fri Nov 14 14:50:03 2014 -0800 +++ b/tests/test-ancestor.py Sat Nov 15 18:52:44 2014 -0800 @@ -132,7 +132,10 @@ print " C returned: %s" % cgcas print " Python returned: %s" % pygcas -if __name__ == '__main__': +def main(): test_missingancestors() test_lazyancestors() test_gca() + +if __name__ == '__main__': + main()