
    q&fN	                         d dl Z dZddlmZ 	 ddlmZ 	 ddlm	Z
  e j                  edu d       G d d	e j                               Z e j                  e
du d
       G d de j                               Zy# e$ r dZY kw xY w# e$ r dZ
Y qw xY w)    Ns           D e        ӝ;J/               D       q          Z1tsJhl&               D               
&6i-o               F               y1B`ĄK               )REVLOGV1)parsers)IndexzSThe C version of the "parsers" module is not available. It is needed for this test.c                       e Zd ZddZy)RevlogBasedTestBaseNc                 D    |t         }t        j                  |d      d   S )NFr   )data_non_inlinedcparsersparse_index2selfdatas     :/usr/lib/python3/dist-packages/mercurial/testing/revlog.py
parseindexzRevlogBasedTestBase.parseindex-   s$    <#D$$T51!44    N)__name__
__module____qualname__r    r   r   r   r   (   s    
5r   r   z<The Rust index is not available. It is needed for this test.c                       e Zd ZddZy)RustRevlogBasedTestBaseNc                 2    |t         }t        |t              S r   )r
   	RustIndexr   r   s     r   parserustindexz&RustRevlogBasedTestBase.parserustindex8   s    <#D x((r   r   )r   r   r   r   r   r   r   r   r   3   s    
)r   r   )unittestr
   revlogutils.constantsr   cextr   r   ImportErrorrustext.revlogr   r   skipIfTestCaser   r   r   r   r   <module>r$      s    
, & -* Y5(++ 5	5 B)h// )	)5  H  Is"   A6 B 6B ?B BB