This file is indexed.

/usr/lib/python2.7/dist-packages/openpyxl/chart/tests/test_reader.py is in python-openpyxl 2.4.9-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
from __future__ import absolute_import
# Copyright (c) 2010-2017 openpyxl

from .. line_chart import LineChart
from .. axis import NumericAxis, DateAxis


def test_read(datadir):
    datadir.chdir()
    from .. reader import reader

    with open("chart1.xml") as src:
        xml = src.read()

    chart = reader(xml)
    assert isinstance(chart, LineChart)
    assert chart.title.tx.rich.p[0].r.t == "Website Performance"

    assert isinstance(chart.y_axis, NumericAxis)
    assert chart.y_axis.title.tx.rich.p[0].r.t == "Time in seconds"

    assert isinstance(chart.x_axis, DateAxis)
    assert chart.x_axis.title is None

    assert len(chart.series) == 10