This file is indexed.

/usr/lib/python2.7/dist-packages/zope/schema/tests/__init__.py is in python-zope.schema 4.4.2-3.

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# This file is necessary to make this directory a package.

import re

from zope.schema._compat import PY3
from zope.testing import renormalizing

if PY3:
    py3_checker = renormalizing.RENormalizing([
        (re.compile(r"u'([^']*)'"),
                    r"'\1'"),
        (re.compile(r"^b'([^']*)'"),
                    r"'\1'"),
        (re.compile(r"([^'])b'([^']*)'"),
                    r"\1'\2'"),
        (re.compile(r"<class 'bytes'>"),
                    r"<type 'str'>"),
        (re.compile(r"<class 'str'>"),
                    r"<type 'unicode'>"),
        (re.compile(r"zope.schema._bootstrapinterfaces.InvalidValue"),
                    r"InvalidValue"),
        (re.compile(r"zope.schema.interfaces.InvalidId: '([^']*)'"),
                    r"InvalidId: \1"),
        (re.compile(r"zope.schema.interfaces.InvalidId:"),
                    r"InvalidId:"),
        (re.compile(r"zope.schema.interfaces.InvalidURI: '([^']*)'"),
                    r"InvalidURI: \1"),
        (re.compile(r"zope.schema.interfaces.InvalidURI:"),
                    r"InvalidURI:"),
        (re.compile(r"zope.schema.interfaces.InvalidDottedName: '([^']*)'"),
                    r"InvalidDottedName: \1"),
        (re.compile(r"zope.schema.interfaces.InvalidDottedName:"),
                    r"InvalidDottedName:"),
        (re.compile(
          r"zope.schema._bootstrapinterfaces.ConstraintNotSatisfied: '([^']*)'"
                   ),
                    r"ConstraintNotSatisfied: \1"),
        (re.compile(
           r"zope.schema._bootstrapinterfaces.ConstraintNotSatisfied:"),
                    r"ConstraintNotSatisfied:"),
        (re.compile(r"zope.schema._bootstrapinterfaces.WrongType:"),
                    r"WrongType:"),
      ])
else:
    py3_checker = renormalizing.RENormalizing([
        (re.compile(r"([^'])b'([^']*)'"),
                    r"\1'\2'"),
        ])