# HG changeset patch # User Siddharth Agarwal # Date 2014-11-16 02:52:44 # Node ID 37c3731d8a584fea0e6642d5e34d69a066a24729 # Parent c6cd4b8b76f829724c54d91111e0a0e861c7a82f test-ancestor: define a main function We're going to add to it in upcoming patches. diff --git a/tests/test-ancestor.py b/tests/test-ancestor.py --- a/tests/test-ancestor.py +++ b/tests/test-ancestor.py @@ -132,7 +132,10 @@ def test_gca(): 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()