| Server IP : 118.27.122.248 / Your IP : 216.73.216.17 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python27/lib64/python2.7/test/ |
Upload File : |
�
�q2_c @ s d d l m Z m Z m Z m Z d d l Z d d l Z e � Z d e j f d � � YZ
d � Z e d k r{ e � n d S( i����( t verboset run_doctestt run_unittestt EnvironmentVarGuardNt GetoptTestsc B sk e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z
d � Z d
� Z RS( c C s, t � | _ d | j k r( | j d =n d S( Nt POSIXLY_CORRECT( R t env( t self( ( s5 /opt/alt/python27/lib64/python2.7/test/test_getopt.pyt setUp s c C s | j j � | ` d S( N( R t __exit__( R ( ( s5 /opt/alt/python27/lib64/python2.7/test/test_getopt.pyt tearDown s
c O s | j t j | | � d S( N( t assertRaisest getoptt GetoptError( R t argst kwargs( ( s5 /opt/alt/python27/lib64/python2.7/test/test_getopt.pyt assertError s c C sL | j t j d d � � | j t j d d � � | j t j d d � d S( Nt as a:t b( t
assertTrueR t
short_has_argt assertFalseR ( R ( ( s5 /opt/alt/python27/lib64/python2.7/test/test_getopt.pyt test_short_has_arg s c C s� t j d d g � \ } } | j | � | j | d � t j d d g � \ } } | j | � | j | d � t j d d g � \ } } | j | � | j | d � | j t j d d g � | j t j d g � | j t j d d d g � d S( Nt abcs abc=t abcdt deft abcde( R t
long_has_argsR t assertEqualR R ( R t has_argt option( ( s5 /opt/alt/python27/lib64/python2.7/test/test_getopt.pyt test_long_has_args s
c C sL t j g d d g � \ } } | j | d g � | j | g � t j g d d g � \ } } | j | d g � | j | g � t j g d d d g � \ } } | j | d
g � | j | g � t j g d d d d g � \ } } | j | d g � | j | d g � | j t j g d d g � | j t j g d d g � d S( NR s -at t a1s a:t 1t 2( s -aR ( s -aR"