• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright Joel de Guzman 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
6>>> import pointer_vector_ext
7>>> d = pointer_vector_ext.DoesSomething()
8>>> lst = d.returnList()
9>>> lst[0].f();
10'harru'
11
12'''
13
14
15def run(args = None):
16    import sys
17    import doctest
18
19    if args is not None:
20        sys.argv = args
21    return doctest.testmod(sys.modules.get(__name__))
22
23if __name__ == '__main__':
24    print('running...')
25    import sys
26    status = run()[0]
27    if (status == 0): print("Done.")
28    sys.exit(status)
29
30
31
32