
    #Cc`[                     ^    d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z	  G d de          Z
dS )	z:Module with examples from the tutorial section of the docs    N)TestBase)IStream)LooseObjectDB)BytesIOc                       e Zd Zd ZdS )TestExamplesc                    t          t          j                            | j        d                    }|                                D ]}|                    |          }|                    |          }|d d         |d d         k    sJ t          |	                                          |j
        k    sJ |                    |j                  sJ 	 ~~n# t          $ r Y nw xY wd                    d          }t          dt          |          t!          |                    }|j        J |                    |           t          |j                  dk    sJ |                    |j                  sJ d S )Nobjects   zmy dataasciiblob   )r   ospathjoingitrepopathsha_iterinfostreamlenreadsize
has_objectbinshaUnboundLocalErrorencoder   r   store)selfldbsha1oinfoostreamdataistreams          7lib/python3.11/site-packages/gitdb/test/test_example.py	test_basezTestExamples.test_base   sv   BGLL)99EEFFLLNN 	0 	0DHHTNNEjj&&G!9++++w||~~&&',6666>>%,//////	  	 	 	D	 ((&#d))WT]];; ~%%%		'7>""b((((~~gn-------s   C 
C%$C%N)__name__
__module____qualname__r&        r%   r   r      s#        . . . . .r+   r   )__doc__r   gitdb.test.libr   gitdbr   gitdb.dbr   ior   r   r*   r+   r%   <module>r1      s   
 A @ 				 # # # # # #       " " " " " "      . . . . .8 . . . . .r+   