diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-08-01 10:56:21 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-08-01 10:56:21 -0400 |
commit | 2d7ad503f60f982d6431870663238a76e5a28b56 (patch) | |
tree | a386f25ba13d06c1bc9ba9cc244ab354bb133dc1 /tests/test_numbits.py | |
parent | 666d5ca196f59bcdc85fc8ab4193200e8c61fb4a (diff) | |
download | python-coveragepy-git-2d7ad503f60f982d6431870663238a76e5a28b56.tar.gz |
Fix a bug in num_in_numbits.
Diffstat (limited to 'tests/test_numbits.py')
-rw-r--r-- | tests/test_numbits.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_numbits.py b/tests/test_numbits.py index 27b79d02..a556869b 100644 --- a/tests/test_numbits.py +++ b/tests/test_numbits.py @@ -3,7 +3,7 @@ """Tests for coverage.numbits""" -from hypothesis import given, settings +from hypothesis import example, given, settings from hypothesis.strategies import sets, integers from coverage import env @@ -52,6 +52,7 @@ class NumbitsOpTest(CoverageTest): @given(line_numbers, line_number_sets) @settings(default_settings) + @example(152, {144}) def test_num_in_numbits(self, num, nums): numbits = nums_to_numbits(nums) is_in = num_in_numbits(num, numbits) |