Skip to content

Commit

Permalink
Update docs/tutorial/writing-tests/test-case.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
  • Loading branch information
Hook25 and pieqq authored Sep 6, 2024
1 parent 04c1435 commit 3d24920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/writing-tests/test-case.rst
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ for exactly one situation, if possible. Consider the following:
``check_output_mock.assert_called_once()``. The reason is that we have to be
compatible (in tests as well!) with python3.5 and
``Mock.assert_called_once`` was introduced in Python 3.6. If you don't know
when a function was introduced, refer to `the python documentation
when a function was introduced, refer to `the Python documentation
<https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.assert_called_once>`_.
See below the example, if a function was introduced with a specific
version, you will find it there.
Expand Down

0 comments on commit 3d24920

Please sign in to comment.