| Server IP : 74.208.250.37 / Your IP : 216.73.216.114 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Upload File : |
�
oj8 � � � 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<