Current File : //usr/lib/python3/dist-packages/twisted/python/test/__pycache__/test_tzhelper.cpython-312.pyc |
�
Ϫ�f8 � � � d Z ddlmZ ddlmZ ddlmZ eZddl m Z m
Z
ddlmZ ddl
mZ dd lmZmZ dd
�Zdd�Zdd�Z G d
� de� Zy# e$ r dZY �=w xY w)z(
Tests for L{twisted.python._tzhelper}.
� )�annotations)�environ)�tzsetN)�datetime� timedelta)�mktime)�FixedOffsetTimeZone)�SkipTest�TestCasec �P � t | � S # t $ r t d| ��� �w xY w)z�
Call L{mktime_real}, and if it raises L{OverflowError}, catch it and raise
SkipTest instead.
@param t9: A time as a 9-item tuple.
@type t9: L{tuple}
@return: A timestamp.
@rtype: L{float}
z(Platform cannot construct time zone for )�mktime_real�
OverflowErrorr
)�t9s �C/usr/lib/python3/dist-packages/twisted/python/test/test_tzhelper.pyr r s6 � �J��2����� J��A�"��H�I�I�J�s �
�%c � � t �y| � t d= t � y| t d<