summaryrefslogtreecommitdiff
path: root/tests/test_numbits.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor(test): use the expected name for initializing tests.Ned Batchelder2021-11-071-2/+2
| | | | | | | | | Originally I used setup_test because something went wrong when I used setUp. I wrote https://github.com/pytest-dev/pytest/issues/8424 about it. There they say to use `-p no:nose` to disable nose interpretation. But now I simply went back to setUp, and all seems well? Not sure what changed, but using the expected name is better.
* style: prefer explicit string concatenationNed Batchelder2021-10-101-6/+6
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-1/+1
|
* refactor: remove more unneeded backward.py shimsNed Batchelder2021-05-011-2/+1
| | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS
* test: reduce use of unittestNed Batchelder2021-03-111-2/+2
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-3/+5
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-14/+12
| | | | One step of moving to pure pytest tests.
* Expose numbits_to_nums() SQL function, refs #868Simon Willison2019-11-121-0/+5
|
* Improved numbits operationsNed Batchelder2019-08-111-8/+107
| | | | | | | | | * Better names (merge -> union) * More ops (intersection) * Can be registered for SQLite use * Numbits can be empty Also, line_map is a dumb table name. line_bits is marginally better.
* Fix a bug in num_in_numbits.Ned Batchelder2019-08-011-1/+2
|
* Use more conventional strategy namingNed Batchelder2019-08-011-6/+6
|
* Add num_in_numbitsNed Batchelder2019-08-011-1/+10
|
* Keep hypothesis from freaking out about variable timings during metacovNed Batchelder2019-08-011-1/+13
|
* Add numbits_any_intersectionNed Batchelder2019-07-311-1/+9
|
* Use Hypothesis instead of my own janky randomizationNed Batchelder2019-07-311-22/+14
|
* Refactor numbits into their own filesNed Batchelder2019-07-311-0/+37