This file is indexed.

/usr/lib/python3/dist-packages/postgresql/test/testall.py is in python3-postgresql 1.1.0-1build1.

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
##
# .test.testall
##
import unittest
from sys import stderr

from ..installation import default

from .test_exceptions import *
from .test_bytea_codec import *
from .test_iri import *
from .test_protocol import *
from .test_configfile import *
from .test_pgpassfile import *
from .test_python import *

from .test_installation import *
from .test_cluster import *

# These two require custom cluster configurations.
from .test_connect import *
# No SSL? cluster initialization will fail.
if default().ssl:
	from .test_ssl_connect import *
else:
	stderr.write("NOTICE: installation doesn't support SSL\n")

try:
	from .test_optimized import *
except ImportError:
	stderr.write("NOTICE: port.optimized could not be imported\n")

from .test_driver import *
from .test_alock import *
from .test_notifyman import *
from .test_copyman import *
from .test_lib import *
from .test_dbapi20 import *
from .test_types import *

if __name__ == '__main__':
	unittest.main()