Server IP : 192.158.238.246 / Your IP : 3.15.7.155 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/ |
Upload File : |
3 � f � @ s� d Z ddlmZ ddlZddlmZ ed� ddlZddlm Z ddl mZ ddlm Z dd lmZ d d� Zdd � ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�Zedkr�ejdd� dS )a Test textview, coverage 100%. Since all methods and functions create (or destroy) a ViewWindow, which is a widget containing a widget, etcetera, all tests must be gui tests. Using mock Text would not change this. Other mocks are used to retrieve information about calls. � )�textviewN)�requiresZgui)�Tk)�Button)�Func)� Mbox_funcc C s t � atj� d S )N)r �root�withdraw� r r �D/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_textview.py�setUpModule s r c C s t j� t j� b d S )N)r �update_idletasks�destroyr r r r �tearDownModule s r c @ s e Zd Ze� Ze� Ze� ZdS )�VWN)�__name__� __module__�__qualname__r � transient�grab_set�wait_windowr r r r r # s r c @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S ) �ViewWindowTestc C s"