This file is indexed.

/usr/lib/python2.7/dist-packages/migrate/tests/integrated/test_docs.py is in python-migrate 0.9.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
import doctest
import os


from migrate.tests import fixture

# Collect tests for all handwritten docs: doc/*.rst

dir = ('..','..','..','doc','source')
absdir = (os.path.dirname(os.path.abspath(__file__)),)+dir
dirpath = os.path.join(*absdir)
files = [f for f in os.listdir(dirpath) if f.endswith('.rst')]
paths = [os.path.join(*(dir+(f,))) for f in files]
assert len(paths) > 0
suite = doctest.DocFileSuite(*paths)

def test_docs():
    suite.debug()