__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
��Yf�
� @ 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
Gd d
� d
e j � Z Gd d � d e j � Z e d
k r� e j d d d d � d S)a6 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).
� N)�captured_stderrZidle)�run)�PyShellzf
Warning (from warnings module):
File "test_warning.py", line 99
Line of code
UserWarning: Test
z>>> c @ s: e Z d Z e j e d � d d � � Z d d � Z d S)�RunWarnTestz#Does not work when run within Idle.c C sZ | j t j t � t j d � | j t j t j � t j d � | j t j t � d S)NTF)�assertIs�warnings�showwarningr �capture_warnings�idle_showwarning_subproc)�self� r �C/opt/alt/python35/lib64/python3.5/idlelib/idle_test/test_warning.py�test_showwarnings"