%PDF- %PDF-
Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/ |
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_complex_args.pyc |
� 5}�ac @ sd d d l Z d d l m Z d d l Z d e j f d � � YZ d � Z e d k r` e � n d S( i����N( t test_supportt ComplexArgsTestCasec 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 G s | j | | � | � d S( N( t assertEqual( t selft funct expectedt args( ( s? /opt/plesk/python/2.7/lib64/python2.7/test/test_complex_args.pyt check s c B s e j d � d Ud S( Ns� def f(((((x))))): return x self.check(f, 1, 1) # Inner parens are elided, same as: f(x,) def f(((x)),): return x self.check(f, 2, 2) ( t textwrapt dedent( R ( ( s? /opt/plesk/python/2.7/lib64/python2.7/test/test_complex_args.pyt test_func_parens_no_unpacking s c B s e j d � d Ud S( Ns def f(((((x),)))): return x self.check(f, 3, (3,)) def f(((((x)),))): return x self.check(f, 4, (4,)) def f(((((x))),)): return x self.check(f, 5, (5,)) def f(((x),)): return x self.check(f, 6, (6,)) ( R R ( R ( ( s? /opt/plesk/python/2.7/lib64/python2.7/test/test_complex_args.pyt test_func_1 s c B s e j d � d Ud S( NsP def f(((((x)),),)): return x self.check(f, 2, ((2,),)) ( R R ( R ( ( s? /opt/plesk/python/2.7/lib64/python2.7/test/test_complex_args.pyt test_func_2&