Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/python/test/__pycache__/test_tzhelper.cpython-39.pyc
Ðазад
a k�h� � @ s� d Z ddlmZ zddlmZ W n ey6 dZY n0 eZddlmZ ddlm Z ddlmZ ddl mZmZ d d � Z dd� Zd d� ZG dd� de�ZdS )z( Tests for L{twisted.python._tzhelper}. � )�environ)�tzsetN)� timedelta)�mktime)�FixedOffsetTimeZone)�SkipTest�TestCasec C s0 z t | �W S ty* td| ����Y n0 dS )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 N)�mktime_real� OverflowErrorr )Zt9� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/python/test/test_tzhelper.pyr s r c C sF t du rdS | du r4z td= W q< ty0 Y q<0 n| td<