Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/internet/test/__pycache__/test_gireactor.cpython-39.pyc
Ðазад
a k�ht � @ s� d Z ddlZddlmZ zddlmZ ddlmZ W n e yN dZdZ Y n>0 eZzddlm Z W n e yz dZ Y n0 eZ ddlmZ ddl mZ dd lmZ dd lmZmZ edu r�dZG dd � d ee�ZG dd� de�ZdS )z GI/GTK3 reactor tests. � N)�skipIf)�Gio)� gireactor)�gtk3reactor)�Gtk)�ReactorAlreadyRunning)�ReactorBuilder)�SkipTest�TestCasezgtk3/gi not importablec @ sV e Zd ZdZdd� Zdd� Zeedu d�dd � �Zd d� Z dd � Z dd� Zdd� ZdS )�GApplicationRegistrationTestsa GtkApplication and GApplication are supported by L{twisted.internet.gtk3reactor} and L{twisted.internet.gireactor}. We inherit from L{ReactorBuilder} in order to use some of its reactor-running infrastructure, but don't need its test-creation functionality. c sr t |d�std��g �� �fdd��� ��fdd�}|�d|� |�� � �|� t�| � � | ��dd g� d S )z� Register the app, run the reactor, make sure app was activated, and that reactor was running, and that reactor can be stopped. �quitz Version of PyGObject is too old.c s �� d� � �� d S )N�stopped)�append�stop� )�reactor�resultr ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/internet/test/test_gireactor.pyr <