This file is indexed.

/usr/lib/python2.7/dist-packages/PyMetrics/doctestsw.py is in pymetrics 0.8.1-7.

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
""" doctestsw - used to globally set/unset doctest testing.

This switch is needed because the standard doctest can not handle
raise statements with arguments. Basically, if gDoctest is True,
no arguments are passed when an exception is raised. Normally, 
gDoctest is False and we do raise exceptions with arguments.

You must modify the doctestSw value to True/False to 
activate/deactivate use of the doctest module tests.

To used this module, use the 'from' form of the import
statement and write:

from doctestsw import *
...
if __name__ == "__main__":
  if doctestSw:
    import doctest
    doctest.testmod( sys.modules[__name__] )

$Id: doctestsw.py,v 1.2 2005/09/17 04:28:12 rcharney Exp $
"""
__version__ = "$Revision: 1.2 $"[11:-2]
__author__ = 'Reg. Charney <pymetrics@charneyday.com>'

doctestSw = True