Skip to content

Commit

Permalink
remove debug code from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jasujm committed Mar 24, 2023
1 parent e7963f4 commit cfcc140
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ example using `pytest <https://docs.pytest.org/>`_:
def test_hrefs_with_hypothesis_and_pytest(href):
assert isinstance(href, Href)
assert href.url == f"http://example.com/books/{href.key}"
assert False

The example uses a module-scoped fixture. There is nothing wrong in using
function-scoped fixtures, but they are unnecessarily granular and `hypothesis
Expand Down

0 comments on commit cfcc140

Please sign in to comment.