Skip to content

Commit

Permalink
Overwrite instance check for PathLibPathModule (#685) - fixes #666 wi…
Browse files Browse the repository at this point in the history
…thout the need to skip _pytest.pathlib patching - add module and session scoped fs fixtures - fixes #684
  • Loading branch information
CI Build committed Jul 11, 2022
1 parent 8967822 commit 8f8246a
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 10 deletions.
4 changes: 4 additions & 0 deletions master/_sources/usage.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ tests:
"""
yield fs
For convenience, module- and session-scoped fixtures with the same
functionality are provided, named ``fs_module`` and ``fs_session``,
respectively.


Patch using fake_filesystem_unittest.Patcher
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion master/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion master/autopatch.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
Binary file modified master/doctrees/environment.pickle
Binary file not shown.
Binary file modified master/doctrees/usage.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion master/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion master/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion master/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion master/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion master/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion master/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion master/searchindex.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion master/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ <h3>Patch using the pytest plugin<a class="headerlink" href="#patch-using-the-py
<span class="k">yield</span> <span class="n">fs</span>
</pre></div>
</div>
<p>For convenience, module- and session-scoped fixtures with the same
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>,
respectively.</p>
</div>
<div class="section" id="patch-using-fake-filesystem-unittest-patcher">
<h3>Patch using fake_filesystem_unittest.Patcher<a class="headerlink" href="#patch-using-fake-filesystem-unittest-patcher" title="Permalink to this headline"></a></h3>
Expand Down Expand Up @@ -997,7 +1000,7 @@ <h3>Navigation</h3>
&#169; Copyright 2009 Google Inc. All Rights Reserved.
© Copyright 2014 Altera Corporation. All Rights Reserved.
© Copyright 2014-2021 John McGehee.
Last updated on Jun 07, 2022.
Last updated on Jul 11, 2022.
</div>
</body>
</html>

0 comments on commit 8f8246a

Please sign in to comment.