From a43177a02b6ab9498fe8ae4f1185a0ae2c888b73 Mon Sep 17 00:00:00 2001 From: CI Build Date: Wed, 24 Feb 2021 19:18:22 +0000 Subject: [PATCH] Fix os.file for unreadable files - set regular file mode if none set in FakeFile st_mode arg - add convenience permission argument to create_file() - fixes #588 --- master/api.html | 2 +- master/autopatch.html | 2 +- master/doctrees/environment.pickle | Bin 30444 -> 30444 bytes master/doctrees/modules.doctree | Bin 231534 -> 231870 bytes master/genindex.html | 2 +- master/index.html | 2 +- master/intro.html | 2 +- master/modules.html | 6 ++++-- master/py-modindex.html | 2 +- master/search.html | 2 +- master/searchindex.js | 2 +- master/usage.html | 2 +- 12 files changed, 13 insertions(+), 11 deletions(-) diff --git a/master/api.html b/master/api.html index 80315661..907cb3a2 100644 --- a/master/api.html +++ b/master/api.html @@ -133,7 +133,7 @@

Navigation

© Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/autopatch.html b/master/autopatch.html index abfb4c1a..16296d48 100644 --- a/master/autopatch.html +++ b/master/autopatch.html @@ -228,7 +228,7 @@

Navigation

© Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/doctrees/environment.pickle b/master/doctrees/environment.pickle index 29e1a1297428dc64c47668e4b71ae0592e74e3dd..90c7e7aa410b271cbe96ccbea45cb5873b8bd9b9 100644 GIT binary patch delta 1704 zcmY+EZA@EL7{_~|&=+V+XOV6lu+BnY0tF_*7_c$kWQ0;$SPKP8fx6S%+m`LN%Uo=j zXqM?3WIWepM&sNEUGNj6iSEOxvu8AcL_9Vfh))tJl@*Fk1&`yJ5CeyUvL8PhlTxZkY$_oHMJbgT zm<~zvDRn>){8O<>QA$c>B-YjXoo?}+jW6CKJj36Q+$Ld$f8@`T2*W?G9w1Q}FSNYa zNCb*mix(VeD}0^Zsf@lZl|hrL7>ZRz;8QJ^#*z}@(ZXmEv?!X8loF}zcqmTCk()!U zdNq?L5(qjscr+8hX-u%9ndKtj)CRzwV}fgiC2&*Q0n1twwB_{MV&o0NlO+-+S4f0> zNuuNjB9Pw_DP{cOo#1lLuMjj@;G^8*uu|ZFq%H{&vjy_?w{X>`^@d800{m=Mfiv%p z9CR6taxi^l%N`EwIwLIQnPByaa|;GNIEr*|()2PHPAl_^GZqX6s4aL4$E?=%g2n8D zw{tCU+WZr)`n0%J#mR7bn})#!i&6$y-hLgFHV58n9M&pm*?({~qr=O2q0j*?TMz6nvcP5AFR*4cq!&x*0fg(N&oO8y^D}tAe3n7|({D0ZuQ15~ z8C7@XB( zU>}1!J!S@$-h*6ztcN3fPZkOHWRM81Q8WQgIQDU27|Ab$Zyh@-!}EM)hC+dFEkU$D z!kS08`vInHef1m{g%PJ6HRY^9z2a;@z3Xg8ZR#IDJ=@=f+Bj4RJNk2SLZUwsn2d?| z=EHVZ5AG0G3+g3TGwNY?0~ESdNOPVVcy~Yrqi&5H--o*9sgh$qy4C32aCf4v_)1{j zm1jI0jQgiTV%X3A=2(4m2QCfd;ko+*b+9pzD^n|Ka%dNw2ke6?)$<`CNavXuq*H%3 zNaxKx)Q$R}#+gI3#sd#?3d9#8LMR%>v{ZH^7$>nQ>6DbR!o_~8mIkvXg@7nRwYwDd zduVdMrwMh=Lz}O8=wJ{YCCN(`Nlr$~Am)Q{!wgmte8&)xBMpf(O2pgFRB zGSrAX=P846UqL3lK=ZI0BWGp3G3-Ka@b#h243^*-vwAv^5ak{#z7GBW2Hyo2hj+;} zdPnLXZ(oRsS|}=4X{y9vd~lk!xj#V5$x*mBlB0Q839tLu`G?)wN9nKk%4oGV%3CxF z1wN>9?6(uHjnW_Y=IFDi)-n1t&Wx4A$uX@=yHP(Lqc4YbY#W&UmQ8ZV#QV49Mag+` z{?)j|e~4AfNHi_^d5+`Z-*GQ~g1mt`PJp>UJL*?~W>n)u6RKlkFY0R((}O(!w>%E7 z&?*!p!gIKsl6WQc1U`#-YUXK}m&-gI^YWNyWS&X(pl{M@jE&-F9xaR(L5rqen*4MN JwrxAM_#dLPX?p+w delta 1693 zcmY+EdrVt(6vumc^}(Z*73t`BbQS^#6qpF|*kHV5gaR$l@+<}Fe!aczC2PA(5(1)G zoNJJA?v|PC4~U5isL5s%UG~S+#2Ei@0i*F14QO0qw(*xF3rn1y-~9obf1L06ob&sg z-#Nc~Z~JhYd$`Tr=uVi8_Xa{|L@A8jmKR1!kmhBq8Jt(edQw zP@!6n^$`h#WIH(2%nNqfN4z?SQ7QHm6ZqgH7#&cqlc!%9H)@fu^WQA|sopw~u+a;i8PR&p&2 zHcf>Tba43j2e6c71)I488nTUW%lrpyn6%N=Jh}nl_xx8FR2R4yyk9uapz4Kp8Eh8o zWq_E{M{<$M!m)&*3@0#YA+KEa(Ta*QtR#9YnZf#tMh3f;W(LJoSqz-jdrR{#A7+`g zn!TkTYExL|@4BxTe0}^m2HPh(8MHUnGJuox`goV0n~E9eTlO-8t!G(gvu&??T6>sf zuAJ&(u+w2+VC+1_rTaTL;_HYfVn+<&(FjIaaN+vIO&6lQ&^+#dTsmFag&KA^~fs?dG z*3SoOkQW>UFgBDCOD|AAXvfSYS?>+nkgJEfP-pw{aF0PXHH)3-;O4t@n}Ny^@%Ui Kux-=X)&BreLtXs< diff --git a/master/doctrees/modules.doctree b/master/doctrees/modules.doctree index 05fd1ab028feada5042096e1936a8fc45e87ab2c..c27d689f8a37e1027e345058d00925f0ade205d4 100644 GIT binary patch delta 475 zcmaDifp6brzJ@7`yo`)n`50%MV>~~7`8me;WF3XXycC6!j8uiR%$!t(g4Cki%;MtA z{Jdg4F3&WDynKjwNo7H*LT0f-acYTzMyg)A9+FChw4B8BVuk#?oJvigaa={I>7_Y| zMR1Li`@bnpmpac_&v<0|tn-W^^>nZk?AXNO;?msI6ul{}QyQn#PSMCxv2kLk438bB46v_Sg%InR@I~85kHD7#JoWyrDdO-(yCu?H~U!sxxj? rWLo!+bLzBCpcD{H-?*Dmar=jVOx29+5O1_k7yQrEzMYAYIj0=}#Gk5t delta 120 zcmdltneW{MzJ@7`yo}6S`50%MV~n4^97JrI!6Y)h>pWvUW5{%_3ydK=Q(C7qPN|)u zk-^#n5!pWPB4dT#^oAZr#jOrZhK%e}y%-o77#OzaGcs-XH~m5hqr!B%KTI531DHz~ SIj8<=2g-q@k1#U-Y6k#^x+;(W diff --git a/master/genindex.html b/master/genindex.html index b462cc30..dab0bd02 100644 --- a/master/genindex.html +++ b/master/genindex.html @@ -331,7 +331,7 @@

Navigation

© Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/index.html b/master/index.html index 0f414109..f0673ab9 100644 --- a/master/index.html +++ b/master/index.html @@ -145,7 +145,7 @@

Navigation

© Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/intro.html b/master/intro.html index c218e22f..f75cb302 100644 --- a/master/intro.html +++ b/master/intro.html @@ -214,7 +214,7 @@

Navigation

© Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/modules.html b/master/modules.html index f15921b6..1b65cec5 100644 --- a/master/modules.html +++ b/master/modules.html @@ -681,7 +681,9 @@

Fake filesystem classesParameters:
  • name – Name of the file/directory, without parent path information
  • st_mode – The stat.S_IF* constant representing the file type (i.e. -stat.S_IFREG, stat.S_IFDIR)
  • +stat.S_IFREG, stat.S_IFDIR), and the file permissions. +If no file type is set (e.g. permission flags only), a +regular file type is assumed.
  • contents – The contents of the filesystem object; should be a string or byte object for regular files, and a list of other FakeFile or FakeDirectory objects for FakeDirectory objects
  • @@ -1265,7 +1267,7 @@

    Navigation

    © Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/py-modindex.html b/master/py-modindex.html index 30644a05..6f44cf5d 100644 --- a/master/py-modindex.html +++ b/master/py-modindex.html @@ -111,7 +111,7 @@

    Navigation

    © Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/search.html b/master/search.html index c044a48a..19a680de 100644 --- a/master/search.html +++ b/master/search.html @@ -100,7 +100,7 @@

    Navigation

    © Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file diff --git a/master/searchindex.js b/master/searchindex.js index 3a9a2a46..01165032 100644 --- a/master/searchindex.js +++ b/master/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["api","autopatch","index","intro","modules","usage"],envversion:53,filenames:["api.rst","autopatch.rst","index.rst","intro.rst","modules.rst","usage.rst"],objects:{"pyfakefs.fake_filesystem":{FakeDirectory:[4,1,1,""],FakeFile:[4,1,1,""],FakeFileOpen:[4,1,1,""],FakeFilesystem:[4,1,1,""],FakeIoModule:[4,1,1,""],FakeOsModule:[4,1,1,""],FakePathModule:[4,1,1,""],set_gid:[4,4,1,""],set_uid:[4,4,1,""]},"pyfakefs.fake_filesystem.FakeDirectory":{contents:[4,2,1,""],get_entry:[4,3,1,""],ordered_dirs:[4,2,1,""],remove_entry:[4,3,1,""],size:[4,2,1,""]},"pyfakefs.fake_filesystem.FakeFile":{byte_contents:[4,2,1,""],contents:[4,2,1,""],is_large_file:[4,3,1,""],path:[4,2,1,""],set_contents:[4,3,1,""],size:[4,2,1,""]},"pyfakefs.fake_filesystem.FakeFilesystem":{add_mount_point:[4,3,1,""],add_real_directory:[4,3,1,""],add_real_file:[4,3,1,""],add_real_paths:[4,3,1,""],add_real_symlink:[4,3,1,""],alternative_path_separator:[4,2,1,""],create_dir:[4,3,1,""],create_file:[4,3,1,""],create_symlink:[4,3,1,""],cwd:[4,2,1,""],get_disk_usage:[4,3,1,""],get_object:[4,3,1,""],is_case_sensitive:[4,2,1,""],is_macos:[4,2,1,""],is_windows_fs:[4,2,1,""],patcher:[4,2,1,""],path_separator:[4,2,1,""],pause:[4,3,1,""],resume:[4,3,1,""],root:[4,2,1,""],set_disk_usage:[4,3,1,""],umask:[4,2,1,""]},"pyfakefs.fake_filesystem_shutil":{FakeShutilModule:[4,1,1,""]},"pyfakefs.fake_filesystem_unittest":{Patcher:[4,1,1,""],TestCase:[4,1,1,""],TestCaseMixin:[4,1,1,""],patchfs:[4,4,1,""]},"pyfakefs.fake_filesystem_unittest.Patcher":{pause:[4,3,1,""],resume:[4,3,1,""],setUp:[4,3,1,""],tearDown:[4,3,1,""]},"pyfakefs.fake_filesystem_unittest.TestCaseMixin":{additional_skip_names:[4,2,1,""],modules_to_patch:[4,2,1,""],modules_to_reload:[4,2,1,""],pause:[4,3,1,""],resume:[4,3,1,""],setUpPyfakefs:[4,3,1,""]},"pyfakefs.fake_pathlib":{FakePathlibModule:[4,1,1,""]},"pyfakefs.fake_scandir":{FakeScanDirModule:[4,1,1,""]},pyfakefs:{fake_filesystem:[4,0,0,"-"],fake_filesystem_unittest:[4,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","attribute","Python attribute"],"3":["py","method","Python method"],"4":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:attribute","3":"py:method","4":"py:function"},terms:{"0o777":4,"boolean":4,"byte":[4,5],"case":[3,4,5],"class":[2,3,5],"default":[3,4,5],"function":[2,3,4,5],"import":[0,1,3,4,5],"int":4,"new":[4,5],"public":[0,2,3],"return":[1,4,5],"super":4,"switch":5,"true":[1,4,5],"try":[4,5],"var":5,"while":5,Adding:5,For:[1,4,5],HFS:[4,5],Not:4,The:[0,1,3,4,5],There:[4,5],These:5,Use:[1,4],Used:4,Uses:4,Using:[2,3],With:0,__file__:5,__getattr__:5,__init__:[4,5],_func:4,_locks_modul:5,abl:5,abov:[1,3,5],absolut:4,accept:4,access:[3,4],accord:5,accur:4,achiev:5,activ:3,actual:[3,5],adapt:[4,5],add:[1,4,5],add_mount_point:[4,5],add_real_directori:[4,5],add_real_fil:[4,5],add_real_path:[4,5],add_real_symlink:[4,5],added:[3,4,5],adding:5,addit:[4,5],addition:[3,5],additional_skip_nam:4,affect:5,after:[3,4,5],afterward:5,again:4,alia:4,alik:1,all:[1,3,4,5],allow:[4,5],allow_root_us:4,along:4,alreadi:[4,5],also:[3,4,5],altern:5,alternative_path_separ:[4,5],altsep:4,alwai:[4,5],analysi:5,ani:[4,5],announc:3,anoth:[3,5],anothertestcas:4,anyth:4,api:2,appdata:5,appear:4,appli:[4,5],apply_umask:4,approach:5,appveyor:3,arbitrarili:3,argument:4,around:3,arrai:4,assert:[4,5],assertequ:5,assertfals:[1,5],assertrais:5,asserttru:[1,5],assum:[4,5],atim:4,attribut:[4,5],auto:[4,5],automat:[2,3,4,5],avail:[3,4],avoid:5,bar:[4,5],base:[3,4],basenam:4,basic:5,beatles_fil:4,becaus:[3,5],been:[1,3,4,5],befor:[4,5],begin:4,behav:3,behavior:[3,4,5],belong:[4,5],between:[3,4,5],binari:3,bind:4,bit:4,bland:3,bltn_open:5,both:[4,5],bound:4,box:5,build:5,built:[1,4],builtin:5,byte_cont:4,cach:[4,5],call:[4,5],can:[0,1,3,4,5],cannot:[3,4,5],care:4,caus:[4,5],cento:3,chang:[0,3,4,5],cheap:5,check:[3,4,5],check_if_exist:5,check_read_perm:4,child:4,chmod:4,circular:4,circumst:5,cleanup:5,clear:[4,5],clear_cach:5,close:4,code:[0,1,3,5],collect:5,com:3,come:[1,4,5],command:3,commonli:4,commun:3,compil:4,complet:5,complic:5,concept:5,configur:3,conform:0,consid:[3,4,5],constant:4,construct:4,constructor:5,contain:[1,3,4,5],content:[1,2,4,5],context:[4,5],contigu:5,conveni:[2,4],copi:5,core:[3,5],correct:3,correctli:5,correspond:4,could:[4,5],count:3,cours:5,cpython:3,creat:[1,4,5],create_dir:[0,4,5],create_fil:[0,1,4,5],create_link:5,create_missing_dir:4,create_symlink:[0,4,5],createdirectori:0,createfil:0,createlink:0,creation:4,creator:4,current:[4,5],custom:[2,3],cwd:4,data:5,dear:4,debian:3,decod:4,decor:4,def:[1,4,5],defin:[1,5],delet:4,delete_on_clos:4,demand:[4,5],demonstr:[1,5],depend:[4,5],deprec:0,deriv:[1,4,5],describ:[3,5],descript:[4,5],detail:[4,5],develop:3,deviat:5,devic:[4,5],dict:4,dictionari:[4,5],didn:5,differ:3,differenti:[3,4,5],dir:4,direct:[3,4],directli:5,directori:[3,4],directory_path:4,dirnam:[4,5],disabl:5,disk:[3,4],disk_usag:[4,5],distribut:3,django:5,docker:[3,5],docstr:4,doctest:[2,3,4],document:5,doe:[3,4,5],doing:5,don:5,done:5,dostuff:4,drive:[4,5],due:5,dure:[1,3,4],dynam:[4,5],each:[3,4,5],easiest:5,easili:4,edit:5,eexist:4,effect:4,either:5,elementtre:5,empti:[3,4,5],encapsul:5,encod:[4,5],encount:5,end:1,enhanc:3,enotdir:4,ensur:5,enthusiast:3,entri:4,environ:5,equal:4,errno:4,error:4,even:[1,3,4,5],everyth:[1,4],exampl:[1,3,4,5],example_hom:5,example_test:[1,5],exampletestcas:5,exce:4,except:[4,5],exclus:5,execut:[3,4,5],exist:[1,4,5],expans:[4,5],expect:[4,5],explain:[4,5],explicitli:5,expos:4,ext3:5,ext4:4,extend:3,extent:5,extern:5,fail:5,fake:[1,2,3,5],fake_f:[4,5],fake_filesystem:[0,4,5],fake_filesystem_shutil:4,fake_filesystem_unittest:[1,4],fake_pathlib:4,fake_pathlib_modul:4,fake_scandir:4,fake_scandir_modul:4,fake_temp_fil:5,fakedirectori:4,fakefil:[0,4],fakefileopen:4,fakefilesystem:[0,4,5],fakeiomodul:4,fakelock:5,fakeosmodul:4,fakepathlibmodul:4,fakepathmodul:4,fakescandirmodul:4,fakeshutilmodul:4,fals:[0,1,4,5],familiar:[1,4],faster:4,featur:[2,4,5],fedora:3,few:[1,5],file:[2,3,4],file_exist:5,file_modul:4,file_path:[4,5],filepath:5,filesystem:[1,2,3],fileystem:4,fill:5,find:[2,3,5],fine:5,first:[4,5],fix:5,fixtur:[1,3,4,5],fixture1:5,fixture_path:5,flag:5,flush:5,folder:5,follow:[0,1,5],foo:[4,5],fork:3,format:1,found:4,framework:3,free:4,from:[0,1,3,4,5],fs_no_root:5,full:[4,5],fulli:4,further:[3,4],futur:[0,5],gener:5,get:[4,5],get_disk_usag:[0,4,5],get_entri:4,get_object:4,getattr:5,getdiskusag:0,getsiz:0,gettempdir:5,gid:4,git:3,github:3,given:[4,5],glob:5,global:[4,5],googl:3,grain:5,group:4,group_id:4,had:5,handl:4,happen:5,happi:5,hard:4,has:[0,1,3,4,5],hash:5,have:[1,4,5],help:5,helper:4,here:[0,4,5],hierarchi:4,higher:4,hint:1,histor:5,histori:2,hit:5,hold:[4,5],how:5,http:3,identifi:4,ignor:[1,4],imag:[3,5],implement:[3,4,5],includ:[1,4,5],increas:4,independ:3,index:2,indirect:5,infinit:[4,5],inform:[3,4],inherit:4,init:4,initi:[3,4,5],inod:4,insid:[4,5],instal:[2,5],instanc:[1,4,5],instanti:4,instead:[4,5],integ:4,integr:5,interest:[4,5],interfac:5,intern:[4,5],introduc:3,introduct:2,invok:[1,4],io_open:5,is_case_sensit:[4,5],is_large_fil:4,is_maco:[4,5],is_windows_f:4,isdir:1,isinst:3,ismount:5,isol:5,issu:5,its:[3,5],itself:[4,5],jmcgeheeiv:3,john:3,join:5,jpeg:5,just:[1,4,5],keep:3,keyerror:4,keyword:5,kind:[3,5],know:5,known:5,lack:4,larg:[4,5],last:[3,4],later:5,latest:3,lazi:4,lazy_dir_read:4,lazy_read:4,least:5,legaci:0,let:4,level:[3,4,5],librari:[3,5],like:[1,4,5],limit:[2,5],line:4,link:[4,5],link_target:4,linux:[3,4,5],list:[0,4],listdir:4,live:5,load:[1,4,5],load_doctest:[1,4],load_test:1,loader:1,local:[4,5],locat:[4,5],lock:5,longer:1,look:5,lookup:5,low:[3,5],lxml:5,maco:[3,4,5],mai:[3,4,5],maintain:3,make:[4,5],makedir:[4,5],manag:[4,5],mani:5,manipul:[1,4],manner:5,manual:5,map:[3,4,5],mark:5,master:3,match:4,matter:5,mcgehe:3,mean:[4,5],mechan:5,memori:[3,5],mention:5,merg:3,method:[1,2,4],methodnam:4,mike:3,mimic:4,miss:[4,5],mixin:4,mkdir:1,mock:[3,5],mocked_bar:5,mode:[4,5],model:[1,5],modest:3,modif:[3,4],modifi:4,modul:[2,3],modules_to_patch:4,modules_to_reload:4,more:[3,4,5],most:[3,4,5],mostli:[4,5],mount:4,mro:3,much:[4,5],multipl:4,multiprocess:5,must:4,my_exist:5,my_f:5,my_fakefs_test:5,my_io_modul:4,my_o:5,my_os_modul:4,mytestcas:4,name:[4,5],namedtemporaryfil:5,necessari:[1,4],need:[1,3,4,5],neg:4,never:[4,5],new_fil:4,newest:3,newli:[4,5],next:1,non:[3,4,5],none:[4,5],normal:4,nose:5,note:[2,5],noth:[1,4],notic:5,now:5,ntf:[4,5],number:[4,5],nwon:4,object:[3,4,5],occupi:5,occur:1,off:[4,5],old:0,older:4,one:5,ones:[4,5],onli:[3,4,5],open:[1,4,5],open_cas:5,open_cod:[4,5],oper:[1,3,4,5],option:[4,5],order:[4,5],ordered_dir:4,ordinarili:5,origin:4,os_modul:4,oserror:[4,5],ostyp:5,osx:3,other:[3,4],otherwis:4,out:[1,4,5],over:3,overhead:5,overwrit:4,overwritten:4,own:5,packag:[4,5],page:2,panda:5,paramet:[4,5],parametr:5,parent:[4,5],part:[1,4],particular:4,partit:5,pass:[1,5],patch:[2,3,4],patch_default_arg:4,patch_open_cod:4,patcher:4,patchf:4,patchmod:[4,5],path:[1,4,5],path_list:4,path_separ:[4,5],pathlib2:[4,5],pathlib:[4,5],pathnam:4,pathname_nam:4,paus:[3,4,5],pep:0,per:5,perform:[4,5],perm_bit:4,permis:4,permiss:[1,4],pillow:5,pip:3,place:4,placehold:4,plai:4,plan:5,pleas:5,point:4,posit:5,posix:5,posixpath:4,possibl:[3,5],prefer:4,present:5,preserv:4,previou:[4,5],print:4,probabl:3,problem:[4,5],process:5,product:1,project:3,propag:4,properti:0,protect:5,provid:[3,4,5],prudenc:4,pydevd:5,pyfakef:[0,1,3,4],pypi:[3,4],pypy3:3,pytest:[3,4],python:[3,4,5],qualifi:4,quit:5,rais:4,rare:5,raw:4,raw_io:4,read:[4,5],read_csv:5,read_excel:5,read_onli:[4,5],read_xxx:5,readlin:1,real:[1,3,4],real_temp_fil:5,reason:[4,5],recurs:4,refer:[3,5],reflect:3,regardless:5,regist:5,regular:4,rel:[4,5],relat:[4,5],releas:[3,5],reli:[3,5],reload:[4,5],reloadmoduletest:5,remov:[0,4,5],remove_entri:4,remove_object:4,renam:5,replac:[1,4,5],replic:[4,5],repres:[4,5],requir:[3,4,5],reset:5,resid:4,resolut:4,respect:5,rest:5,restrict:4,result:4,resum:[3,4,5],retain:3,retriev:4,retrofit:4,revert:5,root:[3,4,5],rstrip:4,rudimentari:5,rule:4,run:[1,3,4,5],runtest:4,runtimeerror:4,s_if:4,s_ifdir:4,s_ifreg:4,s_isdir:4,s_isreg:4,said:5,same:[3,4,5],save:5,scandir:[4,5],scenario:2,script:5,search:[2,4,5],second:5,section:5,see:[1,3,4,5],seldom:5,select:0,self:[1,4,5],sensit:4,sep:4,separ:[4,5],septemb:3,serial:4,set:4,set_cont:[0,4],set_disk_usag:[0,4,5],set_gid:4,set_uid:[4,5],setatim:0,setcont:0,setctim:0,setdiskusag:0,setmtim:0,setsiz:0,setup:[1,4,5],setuppyfakef:[1,4,5],sever:5,shall:[4,5],shiffdan:3,should:[4,5],show:5,show_warn:0,shown:[4,5],shutdown:3,shutil:[4,5],side:4,side_effect:4,silent:4,similar:5,simpli:4,simul:4,sinc:[3,4,5],singl:5,situat:5,size:[0,3,4],skipnam:4,smaller:4,softwar:[2,3],some:[0,1,3,4,5],sometest:5,someth:5,sometim:5,somewher:5,soon:5,sourc:[1,3],source_path:4,space:[4,5],special:[3,5],specif:[3,5],specifi:[1,4],splitdriv:5,st_atim:[0,4],st_ctime:[0,4],st_dev:[4,5],st_gid:4,st_ino:4,st_mode:4,st_mtime:[0,4],st_nlink:4,st_size:4,st_uid:4,standard:[4,5],start:[3,5],stat:[4,5],statement:5,staticmethod:5,step:3,still:3,str:4,strerror:4,string:4,stub:[1,4,5],subdirectori:4,subject:5,subprocess:5,substitut:[4,5],suffici:5,support:[3,4,5],suppress:0,sure:5,sut:[4,5],symlink:[4,5],sys:4,system:[1,3,4],take:[4,5],target:4,target_path:[4,5],teardown:[1,4,5],teardownpyfakef:1,temp:5,tempfil:5,test:[2,3,4],test_create_fil:[1,5],test_disk_ful:5,test_django_stuff:5,test_my_funct:4,test_path_exist:5,test_pause_resume_contextmanag:5,test_someth:5,test_using_file_cont:5,test_using_fixture1:5,test_windows_path:5,test_with_patcher_arg:4,testcas:[1,3,4,5],testcasemixin:4,testclass:[1,4],testexampl:1,testrunn:5,testsometh:5,testusingdjango:5,textual:3,than:[3,4],thei:[1,4,5],them:[1,4,5],themselv:[4,5],thi:[1,3,4,5],though:5,three:3,thu:[1,5],time:[4,5],timestamp:4,tmp:5,togeth:[3,5],too:[1,5],total:[4,5],total_s:4,touch:3,track:3,transpar:3,travi:3,travisci:5,treat:4,tree:[4,5],troubleshoot:2,tupl:4,turn:[1,4,5],twice:4,two:5,txt:[1,5],type:4,ubuntu:3,uid:4,umask:4,unc:5,under:[2,3,4,5],underli:3,unexpect:4,unicod:4,uniqu:4,unit:[2,4,5],unittest:[1,2,3],unix:[4,5],unlimit:4,unlock:5,until:4,unwant:[4,5],upcom:5,updat:4,upgrad:5,usabl:4,usag:[1,2,4],use:[1,3,4,5],use_cach:4,use_known_patch:4,used:[1,3,4,5],usefulness:3,user:[3,4],user_id:4,uses:[1,4,5],using:[1,3,4],usual:[1,4,5],valid:[4,5],valu:[4,5],variabl:5,veri:5,vers:5,version:[0,3,5],via:[3,5],vice:5,violat:4,wai:[3,4,5],want:[4,5],warn:0,well:[3,5],what:[4,5],when:[4,5],where:[3,4,5],which:[1,4,5],whole:5,window:[3,4,5],windows_f:5,within:4,without:[3,4,5],won:4,work:[3,4],would:1,wrap:4,wrapper:5,write:[1,3,4,5],writer:5,written:[4,5],xx1:5,yield:5,you:[0,1,3,4,5],your:[1,3,4,5],zipfil:5},titles:["API Notes","Automatically find and patch file functions and modules","Welcome to the pyfakefs documentation!","Introduction","Public Modules and Classes","Usage"],titleterms:{"class":[1,4],"function":1,"public":4,Using:5,access:5,additional_skip_nam:5,allow_root_us:5,api:0,argument:5,automat:1,behav:5,conveni:5,creation:5,custom:5,decor:5,differ:5,directori:5,doctest:1,document:2,fake:4,fake_filesystem_unittest:5,featur:3,file:[1,5],filesystem:[4,5],find:1,handl:5,helper:5,histori:3,indic:2,instal:3,introduct:3,limit:3,list:5,method:5,modul:[1,4,5],modules_to_patch:5,modules_to_reload:5,mount:5,note:0,other:5,patch:[1,5],patch_default_arg:5,patch_open_cod:5,patcher:5,patchf:5,plugin:5,point:5,pyfakef:[2,5],pytest:5,real:5,right:5,scenario:5,set:5,simul:5,size:5,softwar:1,suspend:5,system:5,tabl:2,temporari:5,test:[1,5],than:5,troubleshoot:5,under:1,unit:1,unittest:[4,5],usag:5,use_cach:5,use_known_patch:5,user:5,using:5,welcom:2,work:5}}) \ No newline at end of file +Search.setIndex({docnames:["api","autopatch","index","intro","modules","usage"],envversion:53,filenames:["api.rst","autopatch.rst","index.rst","intro.rst","modules.rst","usage.rst"],objects:{"pyfakefs.fake_filesystem":{FakeDirectory:[4,1,1,""],FakeFile:[4,1,1,""],FakeFileOpen:[4,1,1,""],FakeFilesystem:[4,1,1,""],FakeIoModule:[4,1,1,""],FakeOsModule:[4,1,1,""],FakePathModule:[4,1,1,""],set_gid:[4,4,1,""],set_uid:[4,4,1,""]},"pyfakefs.fake_filesystem.FakeDirectory":{contents:[4,2,1,""],get_entry:[4,3,1,""],ordered_dirs:[4,2,1,""],remove_entry:[4,3,1,""],size:[4,2,1,""]},"pyfakefs.fake_filesystem.FakeFile":{byte_contents:[4,2,1,""],contents:[4,2,1,""],is_large_file:[4,3,1,""],path:[4,2,1,""],set_contents:[4,3,1,""],size:[4,2,1,""]},"pyfakefs.fake_filesystem.FakeFilesystem":{add_mount_point:[4,3,1,""],add_real_directory:[4,3,1,""],add_real_file:[4,3,1,""],add_real_paths:[4,3,1,""],add_real_symlink:[4,3,1,""],alternative_path_separator:[4,2,1,""],create_dir:[4,3,1,""],create_file:[4,3,1,""],create_symlink:[4,3,1,""],cwd:[4,2,1,""],get_disk_usage:[4,3,1,""],get_object:[4,3,1,""],is_case_sensitive:[4,2,1,""],is_macos:[4,2,1,""],is_windows_fs:[4,2,1,""],patcher:[4,2,1,""],path_separator:[4,2,1,""],pause:[4,3,1,""],resume:[4,3,1,""],root:[4,2,1,""],set_disk_usage:[4,3,1,""],umask:[4,2,1,""]},"pyfakefs.fake_filesystem_shutil":{FakeShutilModule:[4,1,1,""]},"pyfakefs.fake_filesystem_unittest":{Patcher:[4,1,1,""],TestCase:[4,1,1,""],TestCaseMixin:[4,1,1,""],patchfs:[4,4,1,""]},"pyfakefs.fake_filesystem_unittest.Patcher":{pause:[4,3,1,""],resume:[4,3,1,""],setUp:[4,3,1,""],tearDown:[4,3,1,""]},"pyfakefs.fake_filesystem_unittest.TestCaseMixin":{additional_skip_names:[4,2,1,""],modules_to_patch:[4,2,1,""],modules_to_reload:[4,2,1,""],pause:[4,3,1,""],resume:[4,3,1,""],setUpPyfakefs:[4,3,1,""]},"pyfakefs.fake_pathlib":{FakePathlibModule:[4,1,1,""]},"pyfakefs.fake_scandir":{FakeScanDirModule:[4,1,1,""]},pyfakefs:{fake_filesystem:[4,0,0,"-"],fake_filesystem_unittest:[4,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","attribute","Python attribute"],"3":["py","method","Python method"],"4":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:attribute","3":"py:method","4":"py:function"},terms:{"0o777":4,"boolean":4,"byte":[4,5],"case":[3,4,5],"class":[2,3,5],"default":[3,4,5],"function":[2,3,4,5],"import":[0,1,3,4,5],"int":4,"new":[4,5],"public":[0,2,3],"return":[1,4,5],"super":4,"switch":5,"true":[1,4,5],"try":[4,5],"var":5,"while":5,Adding:5,For:[1,4,5],HFS:[4,5],Not:4,The:[0,1,3,4,5],There:[4,5],These:5,Use:[1,4],Used:4,Uses:4,Using:[2,3],With:0,__file__:5,__getattr__:5,__init__:[4,5],_func:4,_locks_modul:5,abl:5,abov:[1,3,5],absolut:4,accept:4,access:[3,4],accord:5,accur:4,achiev:5,activ:3,actual:[3,5],adapt:[4,5],add:[1,4,5],add_mount_point:[4,5],add_real_directori:[4,5],add_real_fil:[4,5],add_real_path:[4,5],add_real_symlink:[4,5],added:[3,4,5],adding:5,addit:[4,5],addition:[3,5],additional_skip_nam:4,affect:5,after:[3,4,5],afterward:5,again:4,alia:4,alik:1,all:[1,3,4,5],allow:[4,5],allow_root_us:4,along:4,alreadi:[4,5],also:[3,4,5],altern:5,alternative_path_separ:[4,5],altsep:4,alwai:[4,5],analysi:5,ani:[4,5],announc:3,anoth:[3,5],anothertestcas:4,anyth:4,api:2,appdata:5,appear:4,appli:[4,5],apply_umask:4,approach:5,appveyor:3,arbitrarili:3,argument:4,around:3,arrai:4,assert:[4,5],assertequ:5,assertfals:[1,5],assertrais:5,asserttru:[1,5],assum:[4,5],atim:4,attribut:[4,5],auto:[4,5],automat:[2,3,4,5],avail:[3,4],avoid:5,bar:[4,5],base:[3,4],basenam:4,basic:5,beatles_fil:4,becaus:[3,5],been:[1,3,4,5],befor:[4,5],begin:4,behav:3,behavior:[3,4,5],belong:[4,5],between:[3,4,5],binari:3,bind:4,bit:4,bland:3,bltn_open:5,both:[4,5],bound:4,box:5,build:5,built:[1,4],builtin:5,byte_cont:4,cach:[4,5],call:[4,5],can:[0,1,3,4,5],cannot:[3,4,5],care:4,caus:[4,5],cento:3,chang:[0,3,4,5],cheap:5,check:[3,4,5],check_if_exist:5,check_read_perm:4,child:4,chmod:4,circular:4,circumst:5,cleanup:5,clear:[4,5],clear_cach:5,close:4,code:[0,1,3,5],collect:5,com:3,come:[1,4,5],command:3,commonli:4,commun:3,compil:4,complet:5,complic:5,concept:5,configur:3,conform:0,consid:[3,4,5],constant:4,construct:4,constructor:5,contain:[1,3,4,5],content:[1,2,4,5],context:[4,5],contigu:5,conveni:[2,4],copi:5,core:[3,5],correct:3,correctli:5,correspond:4,could:[4,5],count:3,cours:5,cpython:3,creat:[1,4,5],create_dir:[0,4,5],create_fil:[0,1,4,5],create_link:5,create_missing_dir:4,create_symlink:[0,4,5],createdirectori:0,createfil:0,createlink:0,creation:4,creator:4,current:[4,5],custom:[2,3],cwd:4,data:5,dear:4,debian:3,decod:4,decor:4,def:[1,4,5],defin:[1,5],delet:4,delete_on_clos:4,demand:[4,5],demonstr:[1,5],depend:[4,5],deprec:0,deriv:[1,4,5],describ:[3,5],descript:[4,5],detail:[4,5],develop:3,deviat:5,devic:[4,5],dict:4,dictionari:[4,5],didn:5,differ:3,differenti:[3,4,5],dir:4,direct:[3,4],directli:5,directori:[3,4],directory_path:4,dirnam:[4,5],disabl:5,disk:[3,4],disk_usag:[4,5],distribut:3,django:5,docker:[3,5],docstr:4,doctest:[2,3,4],document:5,doe:[3,4,5],doing:5,don:5,done:5,dostuff:4,drive:[4,5],due:5,dure:[1,3,4],dynam:[4,5],each:[3,4,5],easiest:5,easili:4,edit:5,eexist:4,effect:4,either:5,elementtre:5,empti:[3,4,5],encapsul:5,encod:[4,5],encount:5,end:1,enhanc:3,enotdir:4,ensur:5,enthusiast:3,entri:4,environ:5,equal:4,errno:4,error:4,even:[1,3,4,5],everyth:[1,4],exampl:[1,3,4,5],example_hom:5,example_test:[1,5],exampletestcas:5,exce:4,except:[4,5],exclus:5,execut:[3,4,5],exist:[1,4,5],expans:[4,5],expect:[4,5],explain:[4,5],explicitli:5,expos:4,ext3:5,ext4:4,extend:3,extent:5,extern:5,fail:5,fake:[1,2,3,5],fake_f:[4,5],fake_filesystem:[0,4,5],fake_filesystem_shutil:4,fake_filesystem_unittest:[1,4],fake_pathlib:4,fake_pathlib_modul:4,fake_scandir:4,fake_scandir_modul:4,fake_temp_fil:5,fakedirectori:4,fakefil:[0,4],fakefileopen:4,fakefilesystem:[0,4,5],fakeiomodul:4,fakelock:5,fakeosmodul:4,fakepathlibmodul:4,fakepathmodul:4,fakescandirmodul:4,fakeshutilmodul:4,fals:[0,1,4,5],familiar:[1,4],faster:4,featur:[2,4,5],fedora:3,few:[1,5],file:[2,3,4],file_exist:5,file_modul:4,file_path:[4,5],filepath:5,filesystem:[1,2,3],fileystem:4,fill:5,find:[2,3,5],fine:5,first:[4,5],fix:5,fixtur:[1,3,4,5],fixture1:5,fixture_path:5,flag:[4,5],flush:5,folder:5,follow:[0,1,5],foo:[4,5],fork:3,format:1,found:4,framework:3,free:4,from:[0,1,3,4,5],fs_no_root:5,full:[4,5],fulli:4,further:[3,4],futur:[0,5],gener:5,get:[4,5],get_disk_usag:[0,4,5],get_entri:4,get_object:4,getattr:5,getdiskusag:0,getsiz:0,gettempdir:5,gid:4,git:3,github:3,given:[4,5],glob:5,global:[4,5],googl:3,grain:5,group:4,group_id:4,had:5,handl:4,happen:5,happi:5,hard:4,has:[0,1,3,4,5],hash:5,have:[1,4,5],help:5,helper:4,here:[0,4,5],hierarchi:4,higher:4,hint:1,histor:5,histori:2,hit:5,hold:[4,5],how:5,http:3,identifi:4,ignor:[1,4],imag:[3,5],implement:[3,4,5],includ:[1,4,5],increas:4,independ:3,index:2,indirect:5,infinit:[4,5],inform:[3,4],inherit:4,init:4,initi:[3,4,5],inod:4,insid:[4,5],instal:[2,5],instanc:[1,4,5],instanti:4,instead:[4,5],integ:4,integr:5,interest:[4,5],interfac:5,intern:[4,5],introduc:3,introduct:2,invok:[1,4],io_open:5,is_case_sensit:[4,5],is_large_fil:4,is_maco:[4,5],is_windows_f:4,isdir:1,isinst:3,ismount:5,isol:5,issu:5,its:[3,5],itself:[4,5],jmcgeheeiv:3,john:3,join:5,jpeg:5,just:[1,4,5],keep:3,keyerror:4,keyword:5,kind:[3,5],know:5,known:5,lack:4,larg:[4,5],last:[3,4],later:5,latest:3,lazi:4,lazy_dir_read:4,lazy_read:4,least:5,legaci:0,let:4,level:[3,4,5],librari:[3,5],like:[1,4,5],limit:[2,5],line:4,link:[4,5],link_target:4,linux:[3,4,5],list:[0,4],listdir:4,live:5,load:[1,4,5],load_doctest:[1,4],load_test:1,loader:1,local:[4,5],locat:[4,5],lock:5,longer:1,look:5,lookup:5,low:[3,5],lxml:5,maco:[3,4,5],mai:[3,4,5],maintain:3,make:[4,5],makedir:[4,5],manag:[4,5],mani:5,manipul:[1,4],manner:5,manual:5,map:[3,4,5],mark:5,master:3,match:4,matter:5,mcgehe:3,mean:[4,5],mechan:5,memori:[3,5],mention:5,merg:3,method:[1,2,4],methodnam:4,mike:3,mimic:4,miss:[4,5],mixin:4,mkdir:1,mock:[3,5],mocked_bar:5,mode:[4,5],model:[1,5],modest:3,modif:[3,4],modifi:4,modul:[2,3],modules_to_patch:4,modules_to_reload:4,more:[3,4,5],most:[3,4,5],mostli:[4,5],mount:4,mro:3,much:[4,5],multipl:4,multiprocess:5,must:4,my_exist:5,my_f:5,my_fakefs_test:5,my_io_modul:4,my_o:5,my_os_modul:4,mytestcas:4,name:[4,5],namedtemporaryfil:5,necessari:[1,4],need:[1,3,4,5],neg:4,never:[4,5],new_fil:4,newest:3,newli:[4,5],next:1,non:[3,4,5],none:[4,5],normal:4,nose:5,note:[2,5],noth:[1,4],notic:5,now:5,ntf:[4,5],number:[4,5],nwon:4,object:[3,4,5],occupi:5,occur:1,off:[4,5],old:0,older:4,one:5,ones:[4,5],onli:[3,4,5],open:[1,4,5],open_cas:5,open_cod:[4,5],oper:[1,3,4,5],option:[4,5],order:[4,5],ordered_dir:4,ordinarili:5,origin:4,os_modul:4,oserror:[4,5],ostyp:5,osx:3,other:[3,4],otherwis:4,out:[1,4,5],over:3,overhead:5,overwrit:4,overwritten:4,own:5,packag:[4,5],page:2,panda:5,paramet:[4,5],parametr:5,parent:[4,5],part:[1,4],particular:4,partit:5,pass:[1,5],patch:[2,3,4],patch_default_arg:4,patch_open_cod:4,patcher:4,patchf:4,patchmod:[4,5],path:[1,4,5],path_list:4,path_separ:[4,5],pathlib2:[4,5],pathlib:[4,5],pathnam:4,pathname_nam:4,paus:[3,4,5],pep:0,per:5,perform:[4,5],perm_bit:4,permis:4,permiss:[1,4],pillow:5,pip:3,place:4,placehold:4,plai:4,plan:5,pleas:5,point:4,posit:5,posix:5,posixpath:4,possibl:[3,5],prefer:4,present:5,preserv:4,previou:[4,5],print:4,probabl:3,problem:[4,5],process:5,product:1,project:3,propag:4,properti:0,protect:5,provid:[3,4,5],prudenc:4,pydevd:5,pyfakef:[0,1,3,4],pypi:[3,4],pypy3:3,pytest:[3,4],python:[3,4,5],qualifi:4,quit:5,rais:4,rare:5,raw:4,raw_io:4,read:[4,5],read_csv:5,read_excel:5,read_onli:[4,5],read_xxx:5,readlin:1,real:[1,3,4],real_temp_fil:5,reason:[4,5],recurs:4,refer:[3,5],reflect:3,regardless:5,regist:5,regular:4,rel:[4,5],relat:[4,5],releas:[3,5],reli:[3,5],reload:[4,5],reloadmoduletest:5,remov:[0,4,5],remove_entri:4,remove_object:4,renam:5,replac:[1,4,5],replic:[4,5],repres:[4,5],requir:[3,4,5],reset:5,resid:4,resolut:4,respect:5,rest:5,restrict:4,result:4,resum:[3,4,5],retain:3,retriev:4,retrofit:4,revert:5,root:[3,4,5],rstrip:4,rudimentari:5,rule:4,run:[1,3,4,5],runtest:4,runtimeerror:4,s_if:4,s_ifdir:4,s_ifreg:4,s_isdir:4,s_isreg:4,said:5,same:[3,4,5],save:5,scandir:[4,5],scenario:2,script:5,search:[2,4,5],second:5,section:5,see:[1,3,4,5],seldom:5,select:0,self:[1,4,5],sensit:4,sep:4,separ:[4,5],septemb:3,serial:4,set:4,set_cont:[0,4],set_disk_usag:[0,4,5],set_gid:4,set_uid:[4,5],setatim:0,setcont:0,setctim:0,setdiskusag:0,setmtim:0,setsiz:0,setup:[1,4,5],setuppyfakef:[1,4,5],sever:5,shall:[4,5],shiffdan:3,should:[4,5],show:5,show_warn:0,shown:[4,5],shutdown:3,shutil:[4,5],side:4,side_effect:4,silent:4,similar:5,simpli:4,simul:4,sinc:[3,4,5],singl:5,situat:5,size:[0,3,4],skipnam:4,smaller:4,softwar:[2,3],some:[0,1,3,4,5],sometest:5,someth:5,sometim:5,somewher:5,soon:5,sourc:[1,3],source_path:4,space:[4,5],special:[3,5],specif:[3,5],specifi:[1,4],splitdriv:5,st_atim:[0,4],st_ctime:[0,4],st_dev:[4,5],st_gid:4,st_ino:4,st_mode:4,st_mtime:[0,4],st_nlink:4,st_size:4,st_uid:4,standard:[4,5],start:[3,5],stat:[4,5],statement:5,staticmethod:5,step:3,still:3,str:4,strerror:4,string:4,stub:[1,4,5],subdirectori:4,subject:5,subprocess:5,substitut:[4,5],suffici:5,support:[3,4,5],suppress:0,sure:5,sut:[4,5],symlink:[4,5],sys:4,system:[1,3,4],take:[4,5],target:4,target_path:[4,5],teardown:[1,4,5],teardownpyfakef:1,temp:5,tempfil:5,test:[2,3,4],test_create_fil:[1,5],test_disk_ful:5,test_django_stuff:5,test_my_funct:4,test_path_exist:5,test_pause_resume_contextmanag:5,test_someth:5,test_using_file_cont:5,test_using_fixture1:5,test_windows_path:5,test_with_patcher_arg:4,testcas:[1,3,4,5],testcasemixin:4,testclass:[1,4],testexampl:1,testrunn:5,testsometh:5,testusingdjango:5,textual:3,than:[3,4],thei:[1,4,5],them:[1,4,5],themselv:[4,5],thi:[1,3,4,5],though:5,three:3,thu:[1,5],time:[4,5],timestamp:4,tmp:5,togeth:[3,5],too:[1,5],total:[4,5],total_s:4,touch:3,track:3,transpar:3,travi:3,travisci:5,treat:4,tree:[4,5],troubleshoot:2,tupl:4,turn:[1,4,5],twice:4,two:5,txt:[1,5],type:4,ubuntu:3,uid:4,umask:4,unc:5,under:[2,3,4,5],underli:3,unexpect:4,unicod:4,uniqu:4,unit:[2,4,5],unittest:[1,2,3],unix:[4,5],unlimit:4,unlock:5,until:4,unwant:[4,5],upcom:5,updat:4,upgrad:5,usabl:4,usag:[1,2,4],use:[1,3,4,5],use_cach:4,use_known_patch:4,used:[1,3,4,5],usefulness:3,user:[3,4],user_id:4,uses:[1,4,5],using:[1,3,4],usual:[1,4,5],valid:[4,5],valu:[4,5],variabl:5,veri:5,vers:5,version:[0,3,5],via:[3,5],vice:5,violat:4,wai:[3,4,5],want:[4,5],warn:0,well:[3,5],what:[4,5],when:[4,5],where:[3,4,5],which:[1,4,5],whole:5,window:[3,4,5],windows_f:5,within:4,without:[3,4,5],won:4,work:[3,4],would:1,wrap:4,wrapper:5,write:[1,3,4,5],writer:5,written:[4,5],xx1:5,yield:5,you:[0,1,3,4,5],your:[1,3,4,5],zipfil:5},titles:["API Notes","Automatically find and patch file functions and modules","Welcome to the pyfakefs documentation!","Introduction","Public Modules and Classes","Usage"],titleterms:{"class":[1,4],"function":1,"public":4,Using:5,access:5,additional_skip_nam:5,allow_root_us:5,api:0,argument:5,automat:1,behav:5,conveni:5,creation:5,custom:5,decor:5,differ:5,directori:5,doctest:1,document:2,fake:4,fake_filesystem_unittest:5,featur:3,file:[1,5],filesystem:[4,5],find:1,handl:5,helper:5,histori:3,indic:2,instal:3,introduct:3,limit:3,list:5,method:5,modul:[1,4,5],modules_to_patch:5,modules_to_reload:5,mount:5,note:0,other:5,patch:[1,5],patch_default_arg:5,patch_open_cod:5,patcher:5,patchf:5,plugin:5,point:5,pyfakef:[2,5],pytest:5,real:5,right:5,scenario:5,set:5,simul:5,size:5,softwar:1,suspend:5,system:5,tabl:2,temporari:5,test:[1,5],than:5,troubleshoot:5,under:1,unit:1,unittest:[4,5],usag:5,use_cach:5,use_known_patch:5,user:5,using:5,welcom:2,work:5}}) \ No newline at end of file diff --git a/master/usage.html b/master/usage.html index 68d335b4..cce10e82 100644 --- a/master/usage.html +++ b/master/usage.html @@ -964,7 +964,7 @@

    Navigation

    © Copyright 2009 Google Inc. All Rights Reserved. © Copyright 2014 Altera Corporation. All Rights Reserved. © Copyright 2014-2020 John McGehee. - Last updated on Feb 11, 2021. + Last updated on Feb 24, 2021. \ No newline at end of file