bgL^dZddlZddlmZddlmZddlmZddlm Z GddeZ dS) z:Module with examples from the tutorial section of the docsN)TestBase)IStream) LooseObjectDB)BytesIOceZdZdZdS) TestExamplescttj|jd}|D]}||}||}|dd|ddksJt| |j ksJ| |j sJ ~~n#t$rYnwxYwd}tdt|t|}|j J||t|j dksJ| |j sJdS)Nobjectssmy datablob)rospathjoin gitrepopathsha_iterinfostreamlenreadsize has_objectbinshaUnboundLocalErrorrrstore)selfldbsha1oinfoostreamdataistreams h/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/gitdb/test/test_example.py test_basezTestExamples.test_baseshBGLL)99EEFFLLNN 0 0DHHTNNEjj&&G!9 ++++w||~~&&',6666>>%,// / // /      D &#d))WT]];;~%%% '7>""b((((~~gn-------sC C%$C%N)__name__ __module__ __qualname__r$r#rrs#.....r)r) __doc__rgitdb.test.librgitdbrgitdb.dbriorrr(r)r#r/s A@ ######"""""".....8.....r)