Skip to content

Commit 8f8246a

Browse files
author
CI Build
committed
Overwrite instance check for PathLibPathModule (#685) - fixes #666 without the need to skip _pytest.pathlib patching - add module and session scoped fs fixtures - fixes #684
1 parent 8967822 commit 8f8246a

13 files changed

+17
-10
lines changed

master/_sources/usage.rst.txt

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ tests:
6464
"""
6565
yield fs
6666
67+
For convenience, module- and session-scoped fixtures with the same
68+
functionality are provided, named ``fs_module`` and ``fs_session``,
69+
respectively.
70+
6771

6872
Patch using fake_filesystem_unittest.Patcher
6973
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

master/api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h3>Navigation</h3>
127127
&#169; Copyright 2009 Google Inc. All Rights Reserved.
128128
© Copyright 2014 Altera Corporation. All Rights Reserved.
129129
© Copyright 2014-2021 John McGehee.
130-
Last updated on Jun 07, 2022.
130+
Last updated on Jul 11, 2022.
131131
</div>
132132
</body>
133133
</html>

master/autopatch.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ <h3>Navigation</h3>
222222
&#169; Copyright 2009 Google Inc. All Rights Reserved.
223223
© Copyright 2014 Altera Corporation. All Rights Reserved.
224224
© Copyright 2014-2021 John McGehee.
225-
Last updated on Jun 07, 2022.
225+
Last updated on Jul 11, 2022.
226226
</div>
227227
</body>
228228
</html>

master/doctrees/environment.pickle

0 Bytes
Binary file not shown.

master/doctrees/usage.doctree

780 Bytes
Binary file not shown.

master/genindex.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ <h3>Navigation</h3>
324324
&#169; Copyright 2009 Google Inc. All Rights Reserved.
325325
© Copyright 2014 Altera Corporation. All Rights Reserved.
326326
© Copyright 2014-2021 John McGehee.
327-
Last updated on Jun 07, 2022.
327+
Last updated on Jul 11, 2022.
328328
</div>
329329
</body>
330330
</html>

master/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ <h3>Navigation</h3>
139139
&#169; Copyright 2009 Google Inc. All Rights Reserved.
140140
© Copyright 2014 Altera Corporation. All Rights Reserved.
141141
© Copyright 2014-2021 John McGehee.
142-
Last updated on Jun 07, 2022.
142+
Last updated on Jul 11, 2022.
143143
</div>
144144
</body>
145145
</html>

master/intro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ <h3>Navigation</h3>
211211
&#169; Copyright 2009 Google Inc. All Rights Reserved.
212212
© Copyright 2014 Altera Corporation. All Rights Reserved.
213213
© Copyright 2014-2021 John McGehee.
214-
Last updated on Jun 07, 2022.
214+
Last updated on Jul 11, 2022.
215215
</div>
216216
</body>
217217
</html>

master/modules.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ <h3>Navigation</h3>
12771277
&#169; Copyright 2009 Google Inc. All Rights Reserved.
12781278
© Copyright 2014 Altera Corporation. All Rights Reserved.
12791279
© Copyright 2014-2021 John McGehee.
1280-
Last updated on Jun 07, 2022.
1280+
Last updated on Jul 11, 2022.
12811281
</div>
12821282
</body>
12831283
</html>

master/py-modindex.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ <h3>Navigation</h3>
105105
&#169; Copyright 2009 Google Inc. All Rights Reserved.
106106
© Copyright 2014 Altera Corporation. All Rights Reserved.
107107
© Copyright 2014-2021 John McGehee.
108-
Last updated on Jun 07, 2022.
108+
Last updated on Jul 11, 2022.
109109
</div>
110110
</body>
111111
</html>

master/search.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h3>Navigation</h3>
9393
&#169; Copyright 2009 Google Inc. All Rights Reserved.
9494
© Copyright 2014 Altera Corporation. All Rights Reserved.
9595
© Copyright 2014-2021 John McGehee.
96-
Last updated on Jun 07, 2022.
96+
Last updated on Jul 11, 2022.
9797
</div>
9898
</body>
9999
</html>

master/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

master/usage.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ <h3>Patch using the pytest plugin<a class="headerlink" href="#patch-using-the-py
9999
<span class="k">yield</span> <span class="n">fs</span>
100100
</pre></div>
101101
</div>
102+
<p>For convenience, module- and session-scoped fixtures with the same
103+
functionality are provided, named <code class="docutils literal notranslate"><span class="pre">fs_module</span></code> and <code class="docutils literal notranslate"><span class="pre">fs_session</span></code>,
104+
respectively.</p>
102105
</div>
103106
<div class="section" id="patch-using-fake-filesystem-unittest-patcher">
104107
<h3>Patch using fake_filesystem_unittest.Patcher<a class="headerlink" href="#patch-using-fake-filesystem-unittest-patcher" title="Permalink to this headline"></a></h3>
@@ -997,7 +1000,7 @@ <h3>Navigation</h3>
9971000
&#169; Copyright 2009 Google Inc. All Rights Reserved.
9981001
© Copyright 2014 Altera Corporation. All Rights Reserved.
9991002
© Copyright 2014-2021 John McGehee.
1000-
Last updated on Jun 07, 2022.
1003+
Last updated on Jul 11, 2022.
10011004
</div>
10021005
</body>
10031006
</html>

0 commit comments

Comments
 (0)