def testDelayedCallSecondsOverride(self):
        """
        Test that the C{seconds} argument to DelayedCall gets used instead of
        the default timing function, if it is not None.
        """
        def seconds():
            return 10
        dc = base.DelayedCall(5, lambda: None, (), {}, lambda dc: None,
                              lambda dc: None, seconds)
        self.assertEqual(dc.getTime(), 5)
        dc.reset(3)
        self.assertEqual(dc.getTime(), 13)

        Test that the C{seconds} argument to DelayedCall gets used instead of
        the default timing function, if it is not None.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_internet.py