# HG changeset patch # User Siddharth Agarwal # Date 1416106364 28800 # Node ID 37c3731d8a584fea0e6642d5e34d69a066a24729 # Parent c6cd4b8b76f829724c54d91111e0a0e861c7a82f test-ancestor: define a main function We're going to add to it in upcoming patches. diff -r c6cd4b8b76f8 -r 37c3731d8a58 tests/test-ancestor.py --- 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()