This file is indexed.

/usr/lib/python2.7/dist-packages/zmq/tests/test_includes.py is in python-zmq 16.0.2-2.

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
# Copyright (C) PyZMQ Developers
# Distributed under the terms of the Modified BSD License.


from unittest import TestCase
import zmq
import os

class TestIncludes(TestCase):

    def test_get_includes(self):
        from os.path import dirname, basename
        includes = zmq.get_includes()
        self.assertTrue(isinstance(includes, list))
        self.assertTrue(len(includes) >= 2)
        parent = includes[0]
        self.assertTrue(isinstance(parent, str))
        utilsdir = includes[1]
        self.assertTrue(isinstance(utilsdir, str))
        utils = basename(utilsdir)
        self.assertEqual(utils, "utils")

    def test_get_library_dirs(self):
        from os.path import dirname, basename
        libdirs = zmq.get_library_dirs()
        self.assertTrue(isinstance(libdirs, list))
        self.assertEqual(len(libdirs), 1)
        parent = libdirs[0]
        self.assertTrue(isinstance(parent, str))
        libdir = basename(parent)
        self.assertEqual(libdir, "zmq")