Skip to content

Commit

Permalink
Fix #45: update test docstring (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwermelinger committed Aug 28, 2024
1 parent 8dfad0b commit f71eee0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This project does *not* adhere to [Semantic Versioning](https://semver.org).
## [Unreleased](https://github.com/dsa-ou/algoesup/compare/v0.3.1...HEAD)
These changes are in the GitHub repository but not on [PyPI](https://pypi.org/project/algoesup).

Nothing yet.
### Added
- add to docstring that `test` doesn't accept built-in functions

## [0.3.1](https://github.com/dsa-ou/algoesup/compare/v0.3.0...v0.3.1) - 2024-08-17
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion docs/library/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ <h3 id="algoesup.test.test" class="doc doc-heading">
</td>
<td>
<div class="doc-md-description">
<p>The function to be tested.</p>
<p>The function to be tested. Can&rsquo;t be a built-in function.</p>
</div>
</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

Binary file modified docs/sitemap.xml.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/algoesup/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test(function: Callable, test_table: list) -> None:
"""Test the function with the test_table. Report failed tests.
Args:
function (Callable): The function to be tested.
function (Callable): The function to be tested. Can't be a built-in function.
test_table (list): The list of tests. Each element of test_table is a list or
tuple with: a string (the test case name); one or more values (the inputs to the function);
the expected output value.
Expand Down

0 comments on commit f71eee0

Please sign in to comment.