This file is indexed.

/usr/lib/python2.7/dist-packages/pyflakes/test/test_return_with_arguments_inside_generator.py is in python-pyflakes 1.6.0-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
32
33
from sys import version_info

from pyflakes import messages as m
from pyflakes.test.harness import TestCase, skipIf


class Test(TestCase):
    @skipIf(version_info >= (3, 3), 'new in Python 3.3')
    def test_return(self):
        self.flakes('''
        class a:
            def b():
                for x in a.c:
                    if x:
                        yield x
                return a
        ''', m.ReturnWithArgsInsideGenerator)

    @skipIf(version_info >= (3, 3), 'new in Python 3.3')
    def test_returnNone(self):
        self.flakes('''
        def a():
            yield 12
            return None
        ''', m.ReturnWithArgsInsideGenerator)

    @skipIf(version_info >= (3, 3), 'new in Python 3.3')
    def test_returnYieldExpression(self):
        self.flakes('''
        def a():
            b = yield a
            return b
        ''', m.ReturnWithArgsInsideGenerator)