Skip to content

Commit c97ee7a

Browse files
rsoklZac-HD
andauthored
Update Python/Module6_Testing/Hypothesis.md
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
1 parent 0b1f2dc commit c97ee7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/Module6_Testing/Hypothesis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ The "pipe" operator, `|` can be used between strategies, to chain `st.one_of` ca
430430
<!-- #endregion -->
431431

432432
<!-- #region -->
433-
#### `st.sampled_from`
433+
#### `st.sampled_from()`
434434

435435
[st.sampled_from](https://hypothesis.readthedocs.io/en/latest/data.html#hypothesis.strategies.sampled_from) accepts a collection of objects (anything that has a length and supports integer-based indexing is a collection; e.g. lists, tuples, strings, and NumPy arrays). The strategy will return values that are sampled from this collection.
436436

0 commit comments

Comments
 (0)