This file is indexed.

/usr/lib/python2.7/dist-packages/mx/DateTime/mxDateTime/teststrftime.py is in python-egenix-mxdatetime 3.2.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
from mx.DateTime import *

t = now()
for i in range(10000):
    s = t.strftime('%D %T %Z')
d = now() - t

print ('elapsed time: %s output: %r' % (d, s))

# Test long deltas on Windows. See #1349.
d1 = Date(2014,1,1)
d2 = Date(2000,1,1)
delta = d1 - d2
assert delta.days == 5114
print ('Big delta strftime(): %r' % delta.strftime('%d %H:%M'))