This file is indexed.

/usr/lib/python2.7/dist-packages/pymc/tests/__init__.py is in python-pymc 2.2+ds-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from __future__ import with_statement
import warnings

try:
    from numpy.testing import Tester
    import numpy
    numpy.seterr(divide = 'raise', invalid = 'raise')
    
    # TODO: Restore this implementation in 2.2, when minimum requirements are changed to Python 2.6
    # with warnings.catch_warnings():
    #         warnings.simplefilter('ignore')
    #         test = Tester().test
    
    # Taken from http://stackoverflow.com/questions/2059675/catching-warnings-pre-python-2-6
    original_filters = warnings.filters[:]

    # Ignore warnings.
    warnings.simplefilter("ignore")

    try:
        # Execute the code that presumably causes the warnings.
        test = Tester().test

    finally:
        # Restore the list of warning filters.
        warnings.filters = original_filters
        
except ImportError:
    warnings.warn('NumPy 1.2 and nose are required to run the test suite.', ImportWarning)
    def test():
        return "Please install nose to run the test suite."