-í
é¶<c       s@  d  k  Z  d k  l Z d k l Z l Z e d „ Z e o	 d GHn e e  i d d ƒ ƒ e e  i d d ƒ ƒ e d e ƒ e d e ƒ e o	 d	 GHn e  i d
 d g ƒ \ Z	 Z
 e e	 ƒ e e
 d
 j ƒ e  i d
 d
 g ƒ \ Z	 Z
 e e	 ƒ e e
 d
 j ƒ e  i d
 d g ƒ \ Z	 Z
 e e	 ƒ e e
 d j ƒ e d e ƒ e d e ƒ e d d e ƒ e o	 d GHn e  i g  d d g  ƒ \ Z Z e e d d f g j ƒ e e g  j ƒ e  i g  d d g  ƒ \ Z Z e e d d f g j ƒ e e g  j ƒ e  i g  d d d g ƒ \ Z Z e e d d f g j ƒ e e g  j ƒ e  i g  d d d d g ƒ \ Z Z e e d d f g j ƒ e e d g j ƒ e d e ƒ e d e ƒ e o	 d GHn e  i g  d
 d
 g g  ƒ \ Z Z e e d d f g j ƒ e e g  j ƒ e  i g  d d g g  ƒ \ Z Z e e d d f g j ƒ e e g  j ƒ e  i g  d d g g  ƒ \ Z Z e e d d f g j ƒ e e g  j ƒ e  i g  d
 d d
 d g g  ƒ \ Z Z e e d d f g j ƒ e e g  j ƒ e  i g  d d  d! g g  ƒ \ Z Z e e d" d# f g j ƒ e e g  j ƒ e d$ e ƒ e d% e ƒ d d d& d' d( d d) d d d( d* d+ g Z e o	 d, GHn e  i  e d- d. d/ g ƒ \ Z Z e e d d f d& d f d0 d f d( d f d d) f d d f d( d f g j ƒ e e d* d+ g j ƒ e d1 e ƒ e o	 d2 GHn d  S(3   N(   s   GetoptError(   s   verifys   verbosec    s,   y |  d UWn | j
 o n X| ‚ d S(   s{   Executes a statement passed in teststr, and raises an exception
       (failure) if the expected exception is *not* raised.N(   s   teststrs   expecteds   failure(   s   teststrs   expecteds   failure(    (    s&   /usr/lib/python2.2/test/test_getopt.pys   expectException s     s%   Running tests on getopt.short_has_args   as   a:s$   tmp = getopt.short_has_arg('a', 'b')s#   tmp = getopt.short_has_arg('a', '')s%   Running tests on getopt.long_has_argss   abcs   abc=s   abcds6   has_arg, option = getopt.long_has_args('abc', ['def'])s1   has_arg, option = getopt.long_has_args('abc', [])s   has_arg, option = s-   getopt.long_has_args('abc', ['abcd','abcde'])s!   Running tests on getopt.do_shortss   -as    s   a1s   1s   2s0   opts, args = getopt.do_shorts([], 'a1', 'a', [])s0   opts, args = getopt.do_shorts([], 'a', 'a:', [])s    Running tests on getopt.do_longss   --abcs   abc=1s   abcd=s   --abcds   abs   foo=42s   foo-bars   foo=s   --foos   42s6   opts, args = getopt.do_longs([], 'abc=1', ['abc'], [])s5   opts, args = getopt.do_longs([], 'abc', ['abc='], [])s   -bs	   --alpha=2s   --betas   3s   arg1s   arg2s   Running tests on getopt.getopts   a:bs   alpha=s   betas   --alphas=   opts, args = getopt.getopt(cmdline, 'a:b', ['alpha', 'beta'])s,   Module getopt: tests completed successfully.(   s   getopts   GetoptErrors   test_supports   verifys   verboses   AssertionErrors   expectExceptions   short_has_args   long_has_argss   has_args   options	   do_shortss   optss   argss   do_longss   cmdline(
   s   verboses   cmdlines   GetoptErrors   verifys   argss   expectExceptions   getopts   has_args   optss   option(    (    s&   /usr/lib/python2.2/test/test_getopt.pys   ? s–   	
		

	!$	!!!'$*	!O