1
2
3 from __future__ import absolute_import
4 from __future__ import division
5
6
7 import sys
8 sys.path.append('../..')
9
10 if __name__ == "__main__":
11 _verbose = False
12 _report = True
13 import doctest
14 from fieldpy.core import raw_file_readers, experiment_classes, helper_fns, extra_classes
15
16 doctest.testmod(raw_file_readers, report=_report, verbose=_verbose)
17 doctest.testmod(experiment_classes, report=_report, verbose=_verbose)
18 doctest.testmod(helper_fns, report=_report, verbose=_verbose)
19 try:
20 from fieldpy.core import helper_fns_cython
21 except:
22 print 'Not testing helper_fns_cython due to import error'
23 else:
24 doctest.testmod(helper_fns_cython, report=_report, verbose=_verbose)
25
26
27