Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/python/test/bienstman5.py @ 29

Last change on this file since 29 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 548 bytes
Line 
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>>> from bienstman5_ext import *
6>>> m = M(1j)
7'''
8def run(args = None):
9    import sys
10    import doctest
11
12    if args is not None:
13        sys.argv = args
14    return doctest.testmod(sys.modules.get(__name__))
15   
16if __name__ == '__main__':
17    print "running..."
18    import sys
19    status = run()[0]
20    if (status == 0): print "Done."
21    sys.exit(status)
Note: See TracBrowser for help on using the repository browser.