[Numpy-discussion] permissions on tests in numpy and scipy

John Hunter jdh2358@gmail....
Mon Jul 14 12:22:32 CDT 2008


I have a rather unconventional install pipeline at work and owner only
read permissions on a number of the tests are causing me minor
problems.  It appears the permissions on the tests are set rather
inconsistently in numpy and python -- is there any reason not to make
these all 644?

johnh@flag:site-packages> find numpy -name "test_*.py"|xargs ls -l
-rw-------   1 johnh    research    2769 Jul 14 12:01
numpy/core/tests/test_defchararray.py
-rw-------   1 johnh    research    8283 Jul 14 12:01
numpy/core/tests/test_defmatrix.py
-rw-------   1 johnh    research    1769 Jun 25 10:00
numpy/core/tests/test_errstate.py
-rw-------   1 johnh    research    1508 Jun 25 10:00
numpy/core/tests/test_memmap.py
-rw-------   1 johnh    research   33334 Jul 14 12:01
numpy/core/tests/test_multiarray.py
-rw-------   1 johnh    research   26695 Jul 14 12:01
numpy/core/tests/test_numeric.py
-rw-------   1 johnh    research   13781 Jul 14 12:01
numpy/core/tests/test_numerictypes.py
-rw-------   1 johnh    research    1113 Jul 14 12:01
numpy/core/tests/test_print.py
-rw-------   1 johnh    research    4290 Jul 14 12:01
numpy/core/tests/test_records.py
-rw-------   1 johnh    research   39370 Jul 14 12:01
numpy/core/tests/test_regression.py
-rw-------   1 johnh    research    4097 Jul 14 12:01
numpy/core/tests/test_scalarmath.py
-rw-------   1 johnh    research    9330 Jun 25 10:00
numpy/core/tests/test_ufunc.py
-rw-------   1 johnh    research    7583 Jul 14 12:01
numpy/core/tests/test_umath.py
-rw-------   1 johnh    research   11264 Jul 14 12:01
numpy/core/tests/test_unicode.py
-rw-------   1 johnh    research     222 Jul 14 12:00
numpy/distutils/tests/f2py_ext/tests/test_fib2.py
-rw-------   1 johnh    research     220 Jul 14 12:00
numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py
-rw-------   1 johnh    research     220 Jul 14 12:00
numpy/distutils/tests/gen_ext/tests/test_fib3.py
-rw-------   1 johnh    research     277 Jul 14 12:00
numpy/distutils/tests/pyrex_ext/tests/test_primes.py
-rw-------   1 johnh    research     387 Jul 14 12:00
numpy/distutils/tests/swig_ext/tests/test_example.py
-rw-------   1 johnh    research     276 Jul 14 12:00
numpy/distutils/tests/swig_ext/tests/test_example2.py
-rw-------   1 johnh    research    1800 Jul 14 12:00
numpy/distutils/tests/test_fcompiler_gnu.py
-rw-------   1 johnh    research    2421 Jun 25 09:59
numpy/distutils/tests/test_misc_util.py
-rw-r--r--   1 johnh    research   64338 Jun 25 09:59
numpy/f2py/lib/parser/test_Fortran2003.py
-rw-r--r--   1 johnh    research   24785 Jun 25 09:59
numpy/f2py/lib/parser/test_parser.py
-rw-------   1 johnh    research     574 Jul 14 12:00
numpy/fft/tests/test_fftpack.py
-rw-------   1 johnh    research    1256 Jul 14 12:00
numpy/fft/tests/test_helper.py
-rw-------   1 johnh    research    9948 Jul 14 12:01
numpy/lib/tests/test__datasource.py
-rw-------   1 johnh    research    4088 Jul 14 12:01
numpy/lib/tests/test_arraysetops.py
-rw-------   1 johnh    research     809 Jul 14 12:01
numpy/lib/tests/test_financial.py
-rw-------   1 johnh    research   23794 Jul 14 12:01
numpy/lib/tests/test_format.py
-rw-------   1 johnh    research   30772 Jul 14 12:01
numpy/lib/tests/test_function_base.py
-rw-------   1 johnh    research    1587 Jun 25 10:00
numpy/lib/tests/test_getlimits.py
-rw-------   1 johnh    research    2111 Jul 14 12:01
numpy/lib/tests/test_index_tricks.py
-rw-------   1 johnh    research    7691 Jul 14 12:01 numpy/lib/tests/test_io.py
-rw-------   1 johnh    research     999 Jun 25 10:00
numpy/lib/tests/test_machar.py
-rw-------   1 johnh    research    2431 Jun 25 10:00
numpy/lib/tests/test_polynomial.py
-rw-------   1 johnh    research    1409 Jul 14 12:01
numpy/lib/tests/test_regression.py
-rw-------   1 johnh    research   14353 Jul 14 12:01
numpy/lib/tests/test_shape_base.py
-rw-------   1 johnh    research    6958 Jul 14 12:01
numpy/lib/tests/test_stride_tricks.py
-rw-------   1 johnh    research    6735 Jul 14 12:01
numpy/lib/tests/test_twodim_base.py
-rw-------   1 johnh    research    9579 Jul 14 12:01
numpy/lib/tests/test_type_check.py
-rw-------   1 johnh    research    1771 Jun 25 10:00
numpy/lib/tests/test_ufunclike.py
-rw-------   1 johnh    research    8279 Jul 14 12:01
numpy/linalg/tests/test_linalg.py
-rw-------   1 johnh    research    1739 Jul 14 12:01
numpy/linalg/tests/test_regression.py
-rw-------   1 johnh    research   78819 Jun 25 10:00
numpy/ma/tests/test_core.py
-rw-------   1 johnh    research   15744 Jul 14 12:01
numpy/ma/tests/test_extras.py
-rw-------   1 johnh    research   17759 Jun 25 10:00
numpy/ma/tests/test_mrecords.py
-rw-------   1 johnh    research   33009 Jun 25 10:00
numpy/ma/tests/test_old_ma.py
-rw-------   1 johnh    research    5956 Jun 25 10:00
numpy/ma/tests/test_subclassing.py
-rw-------   1 johnh    research    3173 Jul 14 12:01
numpy/oldnumeric/tests/test_oldnumeric.py
-rw-------   1 johnh    research    2043 Jun 25 09:59
numpy/random/tests/test_random.py
-rw-------   1 johnh    research    4330 Jun 25 10:00
numpy/testing/tests/test_utils.py
-rw-------   1 johnh    research    3356 Jun 25 10:00
numpy/tests/test_ctypeslib.py
johnh@flag:site-packages> find scipy -name "test_*.py"|xargs ls -l
-rw-------   1 johnh    research    7653 Jul 14 12:01
scipy/cluster/tests/test_hierarchy.py
-rw-------   1 johnh    research    5852 Jul 14 12:01
scipy/cluster/tests/test_vq.py
-rw-------   1 johnh    research   13552 Jul 14 12:01
scipy/fftpack/tests/test_basic.py
-rw-r--r--   1 johnh    research    1846 Mar 10 12:57
scipy/fftpack/tests/test_helper.py
-rw-r--r--   1 johnh    research   11554 Mar 10 12:57
scipy/fftpack/tests/test_pseudo_diffs.py
-rw-------   1 johnh    research    4192 Apr 25 09:15
scipy/integrate/tests/test_integrate.py
-rw-------   1 johnh    research    3728 Feb 19 17:12
scipy/integrate/tests/test_quadpack.py
-rw-------   1 johnh    research    1035 Feb 19 17:12
scipy/integrate/tests/test_quadrature.py
-rw-------   1 johnh    research    5310 Jul 14 12:01
scipy/interpolate/tests/test_fitpack.py
-rw-------   1 johnh    research    8014 Jul 14 12:01
scipy/interpolate/tests/test_interpolate.py
-rw-------   1 johnh    research   11273 May  7 12:43
scipy/interpolate/tests/test_polyint.py
-rw-------   1 johnh    research     929 Apr 25 09:15
scipy/interpolate/tests/test_rbf.py
-rw-------   1 johnh    research    8625 Jul 14 12:01
scipy/io/matlab/tests/test_mio.py
-rw-------   1 johnh    research    2010 Apr 25 09:15
scipy/io/tests/test_array_import.py
-rw-------   1 johnh    research   10246 Jul 14 12:01
scipy/io/tests/test_mmio.py
-rw-r--r--   1 johnh    research    3621 Mar 10 12:57
scipy/io/tests/test_npfile.py
-rw-------   1 johnh    research    7276 Apr 25 09:15
scipy/io/tests/test_recaster.py
-rw-r--r--   1 johnh    research    8320 Mar 10 12:57
scipy/lib/blas/tests/test_blas.py
-rw-r--r--   1 johnh    research   17225 Mar 10 12:57
scipy/lib/blas/tests/test_fblas.py
-rw-------   1 johnh    research    4271 Apr 25 09:15
scipy/lib/lapack/tests/test_lapack.py
-rw-r--r--   1 johnh    research     230 Mar 10 12:57
scipy/linalg/tests/test_atlas_version.py
-rw-r--r--   1 johnh    research   13148 Mar 10 12:57
scipy/linalg/tests/test_basic.py
-rw-r--r--   1 johnh    research    7597 Mar 10 12:57
scipy/linalg/tests/test_blas.py
-rw-------   1 johnh    research   32051 Apr 25 09:15
scipy/linalg/tests/test_decomp.py
-rw-r--r--   1 johnh    research   17095 Mar 10 12:57
scipy/linalg/tests/test_fblas.py
-rw-r--r--   1 johnh    research    2017 Mar 10 12:57
scipy/linalg/tests/test_lapack.py
-rw-r--r--   1 johnh    research    3515 Mar 10 12:57
scipy/linalg/tests/test_matfuncs.py
-rw-r--r--   1 johnh    research     961 Mar 10 12:57
scipy/maxentropy/tests/test_maxentropy.py
-rw-------   1 johnh    research    1399 Feb 19 17:12
scipy/misc/tests/test_pilutil.py
-rw-------   1 johnh    research   12120 Feb 19 17:12
scipy/odr/tests/test_odr.py
-rw-r--r--   1 johnh    research     576 Mar 10 12:57
scipy/optimize/tests/test_cobyla.py
-rw-r--r--   1 johnh    research    2632 Mar 10 12:57
scipy/optimize/tests/test_nonlin.py
-rw-------   1 johnh    research   10392 Apr 25 09:15
scipy/optimize/tests/test_optimize.py
-rw-r--r--   1 johnh    research    3032 Mar 10 12:57
scipy/optimize/tests/test_slsqp.py
-rw-r--r--   1 johnh    research     977 Mar 10 12:57
scipy/optimize/tests/test_zeros.py
-rw-r--r--   1 johnh    research    1943 Apr  3 10:22
scipy/signal/tests/test_signaltools.py
-rw-r--r--   1 johnh    research    3009 Apr  3 10:22
scipy/signal/tests/test_wavelets.py
-rw-------   1 johnh    research    1181 Apr 25 09:15
scipy/sparse/linalg/dsolve/tests/test_linsolve.py
-rw-------   1 johnh    research    5763 Apr 25 09:15
scipy/sparse/linalg/dsolve/umfpack/tests/test_umfpack.py
-rw-------   1 johnh    research    8458 Apr 25 09:15
scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py
-rw-r--r--   1 johnh    research    2048 Mar 10 12:54
scipy/sparse/linalg/eigen/arpack/tests/test_speigs.py
-rw-------   1 johnh    research    1896 Jul 14 12:01
scipy/sparse/linalg/eigen/lobpcg/tests/test_lobpcg.py
-rw-------   1 johnh    research    4535 Apr 25 09:15
scipy/sparse/linalg/isolve/tests/test_iterative.py
-rw-------   1 johnh    research    1706 Apr 25 09:15
scipy/sparse/linalg/tests/test_interface.py
-rw-------   1 johnh    research   47594 Jul 14 12:01
scipy/sparse/tests/test_base.py
-rw-------   1 johnh    research    7454 Apr 25 09:15
scipy/sparse/tests/test_construct.py
-rw-------   1 johnh    research    3259 Apr 25 09:15
scipy/sparse/tests/test_spfuncs.py
-rw-------   1 johnh    research    2411 Apr 25 09:15
scipy/sparse/tests/test_sputils.py
-rw-------   1 johnh    research   74547 Jul 14 12:01
scipy/special/tests/test_basic.py
-rw-------   1 johnh    research    1008 Feb 19 17:12
scipy/special/tests/test_spfun_stats.py
-rw-r--r--   1 johnh    research     877 Mar 10 12:55
scipy/stats/models/tests/test_glm.py
-rw-r--r--   1 johnh    research    1241 Mar 10 12:55
scipy/stats/models/tests/test_scale.py
-rw-r--r--   1 johnh    research    1585 Mar 10 12:55
scipy/stats/models/tests/test_utils.py
-rw-r--r--   1 johnh    research  237473 Mar 10 12:57
scipy/ndimage/tests/test_ndimage.py
-rw-------   1 johnh    research    5394 Jul 14 12:01
scipy/ndimage/tests/test_registration.py
-rw-------   1 johnh    research     478 Jul 14 12:01
scipy/ndimage/tests/test_regression.py
-rw-------   1 johnh    research    6929 Jul 14 12:01
scipy/ndimage/tests/test_segment.py
-rw-------   1 johnh    research     557 Jul 14 12:01
scipy/stats/models/tests/test_bspline.py
-rw-------   1 johnh    research   10045 Apr 25 09:15
scipy/stats/models/tests/test_formula.py
-rw-r--r--   1 johnh    research    1120 Mar 10 12:55
scipy/stats/models/tests/test_regression.py
-rw-r--r--   1 johnh    research     662 Mar 10 12:55
scipy/stats/models/tests/test_rlm.py
-rw-r--r--   1 johnh    research    7993 Mar 10 12:55
scipy/stats/tests/test_distributions.py
-rw-------   1 johnh    research    4701 Apr 25 09:15
scipy/stats/tests/test_mmorestats.py
-rw-r--r--   1 johnh    research    4278 Mar 10 12:55
scipy/stats/tests/test_morestats.py
-rw-------   1 johnh    research   20707 Apr 25 09:15
scipy/stats/tests/test_mstats.py
-rw-------   1 johnh    research   29167 Jul 14 12:01
scipy/stats/tests/test_stats.py
-rw-r--r--   1 johnh    research     760 Mar 10 12:57
scipy/weave/tests/test_ast_tools.py
-rw-------   1 johnh    research    7687 Apr 25 09:15
scipy/weave/tests/test_blitz_tools.py
-rw-r--r--   1 johnh    research    2178 Mar 10 12:57
scipy/weave/tests/test_build_tools.py
-rw-------   1 johnh    research   23557 Apr 25 09:15
scipy/weave/tests/test_c_spec.py
-rw-r--r--   1 johnh    research   11938 Mar 10 12:57
scipy/weave/tests/test_catalog.py
-rw-r--r--   1 johnh    research    4623 Mar 10 12:57
scipy/weave/tests/test_ext_tools.py
-rw-r--r--   1 johnh    research    1240 Mar 10 12:57
scipy/weave/tests/test_inline_tools.py
-rw-r--r--   1 johnh    research    5136 Mar 10 12:57
scipy/weave/tests/test_numpy_scalar_spec.py
-rw-r--r--   1 johnh    research     291 Mar 10 12:57
scipy/weave/tests/test_scxx.py
-rw-r--r--   1 johnh    research    8661 Mar 10 12:57
scipy/weave/tests/test_scxx_dict.py
-rw-r--r--   1 johnh    research   27851 Mar 10 12:57
scipy/weave/tests/test_scxx_object.py
-rw-r--r--   1 johnh    research   13442 Mar 10 12:57
scipy/weave/tests/test_scxx_sequence.py
-rw-r--r--   1 johnh    research   12072 Mar 10 12:57
scipy/weave/tests/test_size_check.py
-rw-r--r--   1 johnh    research    6367 Mar 10 12:57
scipy/weave/tests/test_slice_handler.py
-rw-r--r--   1 johnh    research    1197 Mar 10 12:57
scipy/weave/tests/test_standard_array_spec.py
-rw-------   1 johnh    research    3486 Jul 14 12:01
scipy/weave/tests/test_wx_spec.py
johnh@flag:site-packages>


More information about the Numpy-discussion mailing list