This file is indexed.

/usr/share/pyshared/ase/test/ag.py is in python-ase 3.6.0.2515-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
19
20
21
'Some ag tests.'

import os
import sys

# Make sure ag can run in terminal mode without $DISPLAY and gtk:
sys.argv = ['ag', '--terminal']
display = os.environ.pop('DISPLAY', None)
error = False
try:
    from ase.gui.ag import main
    main()
    assert 'gtk' not in sys.modules
except:
    error = True

if display is not None:
    os.environ['DISPLAY'] = display

if error:
    raise