Ņō
ā"Ic           @   sv   d  Z  d d k l Z d d k Z d d k l Z l Z d e i f d     YZ d   Z e	 d j o e   n d S(	   s"   Test cases for the fnmatch module.i˙˙˙˙(   t   test_supportN(   t   fnmatcht   fnmatchcaset   FnmatchTestCasec           B   s   e  Z d  d  Z d   Z RS(   i   c         C   sV   | o' |  i  t | |  d | | f  n% |  i  t | |  d | | f  d  S(   Ns   expected %r to match pattern %rs#   expected %r not to match pattern %r(   t   assert_R   (   t   selft   filenamet   patternt   should_match(    (    s.   /mit/python/lib/python2.6/test/test_fnmatch.pyt   check_match
   s    c         C   sĪ   |  i  } | d d  | d d  | d d  | d d  | d d  | d d  | d d  | d d  | d d	 d
  | d d d
  | d d d
  | d d  | d d  | d d d
  d  S(   Nt   abcs   ?*?s   ???*s   *???s   ???t   *s   ab[cd]s   ab[!de]s   ab[de]i    t   as   ??t   bs   \s   [\]s   [!\](   R	   (   R   t   check(    (    s.   /mit/python/lib/python2.6/test/test_fnmatch.pyt   test_fnmatch   s    	(   t   __name__t
   __module__R	   R   (    (    (    s.   /mit/python/lib/python2.6/test/test_fnmatch.pyR   	   s   
c           C   s   t  i t  d  S(   N(   R    t   run_unittestR   (    (    (    s.   /mit/python/lib/python2.6/test/test_fnmatch.pyt	   test_main)   s    t   __main__(
   t   __doc__t   testR    t   unittestR   R   t   TestCaseR   R   R   (    (    (    s.   /mit/python/lib/python2.6/test/test_fnmatch.pyt   <module>   s    	