. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib64/python3.7/idlelib/idle_test/__pycache__/ |
Upload File : |
B
YI~d� � @ s� d dl mZ d dlZd dlmZ d dlmZmZ d dlm Z d dl
mZ d dlmZ G dd � d ej
�ZG d
d� dej
�Zedkr�ejd
d� dS )� )�outwinN)�requires)�Tk�Text)� Mbox_func)�Func)�mockc @ s\ e Zd Zedd� �Zedd� �Zdd� Zdd� Zd d
� Zdd� Z d
d� Z
dd� Zdd� ZdS )�OutputWindowTestc C sF t d� t� }| _|�� t�d d d |� }| _t|� | _|_d S )NZgui) r r �rootZwithdrawr ZOutputWindow�windowr �text)�clsr
�w� r �B/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_outwin.py�
setUpClass s
zOutputWindowTest.setUpClassc C s$ | j �� | `| ` | j�� | `d S )N)r �closer r
Zdestroy)r
r r r �
tearDownClass s
zOutputWindowTest.tearDownClassc C s | j �dd� d S )Nz1.0�end)r �delete)�selfr r r �setUp s zOutputWindowTest.setUpc C s* | j }| �|�d�� | �|�t�� d S )Nztest.txt)r ZassertFalseZispythonsource�__file__)r r r r r �test_ispythonsource s z$OutputWindowTest.test_ispythonsourcec C s | � | jj�� d� d S )NZOutput)�assertEqualr �top�title)r r r r �test_window_title&