diff options
author | Paul Ivanov <paul.ivanov@local> | 2009-12-28 20:49:52 +0000 |
---|---|---|
committer | Paul Ivanov <paul.ivanov@local> | 2009-12-28 20:49:52 +0000 |
commit | e4f233ecfedd2aafa258db2d3ae27e30604cc020 (patch) | |
tree | 6d32fbdd19b8dca00cd7cafd8df076bac55ddfd8 /numpy/distutils/misc_util.py | |
parent | 5ba01996a9ab2fdfb7c120a5afae801f854a781a (diff) | |
download | numpy-e4f233ecfedd2aafa258db2d3ae27e30604cc020.tar.gz |
fixed a whole bunch of doctests
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r-- | numpy/distutils/misc_util.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index f5b8b7823..7380ad527 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -775,7 +775,7 @@ class Configuration(object): Examples -------- - >>> setup(\**config.todict()). + >>> setup(**config.todict()) #doctest: +SKIP """ self._optimize_data_files() @@ -1019,9 +1019,9 @@ class Configuration(object): For example suppose the source directory contains fun/foo.dat and fun/bar/car.dat:: - >>> self.add_data_dir('fun') - >>> self.add_data_dir(('sun', 'fun')) - >>> self.add_data_dir(('gun', '/full/path/to/fun')) + >>> self.add_data_dir('fun') #doctest: +SKIP + >>> self.add_data_dir(('sun', 'fun')) #doctest: +SKIP + >>> self.add_data_dir(('gun', '/full/path/to/fun'))#doctest: +SKIP Will install data-files to the locations:: @@ -1176,9 +1176,9 @@ class Configuration(object): Add files to the list of data_files to be included with the package. >>> self.add_data_files('foo.dat', - ('fun', ['gun.dat', 'nun/pun.dat', '/tmp/sun.dat']), - 'bar/cat.dat', - '/full/path/to/can.dat') + ... ('fun', ['gun.dat', 'nun/pun.dat', '/tmp/sun.dat']), + ... 'bar/cat.dat', + ... '/full/path/to/can.dat') #doctest: +SKIP will install these data files to:: @@ -2068,7 +2068,7 @@ def get_info(pkgname, dirs=None): To get the necessary information for the npymath library from NumPy: >>> npymath_info = np.distutils.misc_util.get_info('npymath') - >>> npymath_info + >>> npymath_info #doctest: +SKIP {'define_macros': [], 'libraries': ['npymath'], 'library_dirs': ['.../numpy/core/lib'], 'include_dirs': ['.../numpy/core/include']} |