Tests for twisted.python._tzhelper.

Function mktime Call mktime_real, and if it raises OverflowError, catch it and raise SkipTest instead.
Function setTZ Set time zone.
Function addTZCleanup Add cleanup hooks to a test case to reset timezone to original value.
Class FixedOffsetTimeZoneTests Tests for FixedOffsetTimeZone.
def mktime(t9):

Call mktime_real, and if it raises OverflowError, catch it and raise SkipTest instead.

Parameterst9A time as a 9-item tuple. (type: tuple)
ReturnsA timestamp. (type: float)
def setTZ(name):

Set time zone.

Parametersnamea time zone name (type: str)
def addTZCleanup(testCase):

Add cleanup hooks to a test case to reset timezone to original value.

ParameterstestCasethe test case to add the cleanup to. (type: unittest.TestCase)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.