This file is indexed.

/usr/lib/python3/dist-packages/systemfixtures/time.py is in python3-systemfixtures 0.6.4-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
from fixtures import Fixture

from fakesleep import (
    monkey_patch,
    monkey_restore,
    reset,
)


class FakeTime(Fixture):
    """Fixture adapter around fakesleep."""

    def set(self, seconds=None):
        """Set the global fake time to the given epoch or the real current one.

        :param seconds: Fake current time, in seconds since the epoch. If
             ``None``, use the real current time.
        """
        reset(seconds=seconds)

    def _setUp(self):
        monkey_patch()
        self.addCleanup(monkey_restore)