1# Copyright David Abrahams 2004. Distributed under the Boost 2# Software License, Version 1.0. (See accompanying 3# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4''' 5>>> import bienstman2_ext 6''' 7def run(args = None): 8 import sys 9 import doctest 10 11 if args is not None: 12 sys.argv = args 13 return doctest.testmod(sys.modules.get(__name__)) 14 15if __name__ == '__main__': 16 print("running...") 17 import sys 18 status = run()[0] 19 if (status == 0): print("Done.") 20 sys.exit(status) 21