Current File : //opt/imh-python/lib/python2.7/test/test_curses.pyc |
�
��Wc @ s- d d l Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m Z e d � e d � Z e d � e d � d � Z
e j j d � Z
e j e
p� e
d k d e
� e j e j d
k d � d e j f d
� � Y� � Z d e j f d � � YZ d � Z e d k r)e j � n d S( i����N( t requirest
import_modulet verboset run_unittestt cursess curses.panels curses.asciic C s t j t t | � d | � S( Ns requires curses.%s( t unittestt
skipUnlesst hasattrR ( t name( ( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_curses.pyt requires_curses_func s t TERMt unknowns* $TERM=%r, calling initscr() may cause exitt cygwins! cygwin's curses mostly just hangst
TestCursesc B s e Z e d � � Z e d � � Z d � Z d � Z d � Z d � Z d � Z e
d � d � � Z e
d � d
� � Z e
d � d � � Z
d
� Z d � Z d � Z d � Z e
d � d � � Z e
d � d � � Z e
d � d � � Z d � Z d � Z RS( c C sk t j j � s? t j d � � t j � | _ | j j � } n d | _ t j j � } t
j d | � d S( Ns sys.__stdout__ is not a ttyt fd( t syst
__stdout__t isattyR t SkipTestt tempfilet
TemporaryFilet tmpt filenot NoneR t setupterm( t clsR ( ( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_curses.pyt
setUpClass* s c C s# | j r | j j � | ` n d S( N( R t close( R ( ( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_curses.pyt
tearDownClass8 s
c C s+ t r d GHn t j � | _ t j � d S( N( ( R R t initscrt stdscrt savetty( t self( ( si /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_curses.pyt setUp>