| Server IP : 46.245.81.90 / Your IP : 216.73.216.85 Web Server : Apache System : Linux server3ir.xdlhost.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64 User : gmparts ( 1037) PHP Version : 8.1.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/293427/task/293771/root/lib64/python2.7/idlelib/idle_test/ |
Upload File : |
�
{fc @ s� d Z d d l Z d d l m Z d d l Z e j Z d e j k Z d d l m Z d d l m
Z d Z e d Z
d e j f d
� � YZ d e j f d � � YZ e d
k r� e j d d d e � n d S( s6 Test warnings replacement in PyShell.py and run.py.
This file could be expanded to include traceback overrides
(in same two modules). If so, change name.
Revise if output destination changes (http://bugs.python.org/issue18318).
Make sure warnings module is left unaltered (http://bugs.python.org/issue18081).
i����N( t captured_stderrt idle( t run( t PyShellsf
Warning (from warnings module):
File "test_warning.py", line 99
Line of code
UserWarning: Test
s >>> t RunWarnTestc B s, e Z e j e d � d � � Z d � Z RS( s# Does not work when run within Idle.c C sZ | j t j t � t j t � | j t j t j � t j t � | j t j t � d S( N( t assertIst warningst showwarningR t capture_warningst Truet idle_showwarning_subproct False( t self( ( s6 /usr/lib64/python2.7/idlelib/idle_test/test_warning.pyt test_showwarnings"