| Server IP : 138.197.162.186 / Your IP : 216.73.216.184 Web Server : nginx/1.24.0 System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : www-data ( 33) 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 : |
�
Ϫ�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<