Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/conch/test/__pycache__/test_window.cpython-39.pyc
Ðазад
a k�hA � @ sH d Z ddlmZmZmZ ddlmZ G dd� de�ZG dd� de�ZdS ) zJ Tests for the insults windowing module, L{twisted.conch.insults.window}. � )�ScrolledArea� TextOutput� TopWindow)�TestCasec @ s e Zd ZdZdd� ZdS )�TopWindowTestszB Tests for L{TopWindow}, the root window container class. c s� g � g }t � fdd�|j�}| �� g � | �|g � |�� | �� g � | �t|�d� |�� | �� g � | �t|�d� |�� � | �t� �d� | �|g � |�� | �t� �d� | �t|�d� dS )z� Verify that L{TopWindow.repaint} schedules an actual paint to occur using the scheduling object passed to its initializer. c s � � d �S )N)�append� �Zpaintsr ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/conch/test/test_window.py�<lambda> � z5TopWindowTests.test_paintScheduling.<locals>.<lambda>� N)r r ZassertEqualZrepaint�len�pop)�selfZ scheduled�rootr r r �test_paintScheduling s"