view docs/__init__.py @ 3172:d1b367fc08bc tests-returncode

Use a return code of 1 when the tests fail.
author Thomas Kluyver <takowl@gmail.com>
date Wed, 09 Jan 2013 10:13:57 +0000
parents 2b939307c49e
children
line wrap: on
line source

# Make docs a package that brings up the main page in a web brower when
# executed.
#
# python -m pygame.docs

if __name__ == '__main__':
    import os
    pkg_dir = os.path.dirname(os.path.abspath(__file__))
    main = os.path.join(pkg_dir, '__main__.py')
    execfile(main)