Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -21/+21 |
| | | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better. | ||||
* | refactor: add_lines only needs an iterable of ints | Ned Batchelder | 2021-11-13 | 1 | -26/+26 |
| | | | | | The old code expected a dict with int keys, but iterables are simpler, so get rid of a lot of dict.fromkeys() nonsense. | ||||
* | test: cover the last edge cases in sqldata.py | Ned Batchelder | 2021-10-10 | 1 | -2/+12 |
| | |||||
* | fix: raise CoverageException for SQLite connection errorsnedbat/sqldata-edge-tests | Ned Batchelder | 2021-10-10 | 1 | -0/+8 |
| | |||||
* | refactor: simplify some strange string formatting | Ned Batchelder | 2021-10-10 | 1 | -3/+3 |
| | |||||
* | test: test two add_file_tracer possibilities | Ned Batchelder | 2021-10-10 | 1 | -0/+22 |
| | |||||
* | refactor: no need for maybe-u prefixes in test regexes | Ned Batchelder | 2021-10-10 | 1 | -5/+5 |
| | | | | That was for Python 2, which we don't support anymore. | ||||
* | test: run test_data.py with debugging on | Ned Batchelder | 2021-10-10 | 1 | -96/+110 |
| | |||||
* | refactor: remove a mixin class from tests | Ned Batchelder | 2021-10-10 | 1 | -67/+64 |
| | |||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 1 | -2/+2 |
| | |||||
* | fix: contexts_by_lineno now returns a true dict | Ned Batchelder | 2021-10-09 | 1 | -3/+24 |
| | |||||
* | test: add a test of touching files in an empty CoverageData | Ned Batchelder | 2021-10-09 | 1 | -0/+6 |
| | |||||
* | test: set_query_contexts takes regex, make the examples look like regex | Ned Batchelder | 2021-10-09 | 1 | -6/+6 |
| | |||||
* | refactor: use sets to collect data | Ned Batchelder | 2021-08-15 | 1 | -34/+32 |
| | | | | | | | Coverage.py predates sets as a built-in data structure, so the file data collection has long been dicts with None as the values. Sets are available to us now (since Python 2.4 in 2004, which coverage.py dropped support for in 2014!), we use sets. | ||||
* | build: mark a line as not covered | Ned Batchelder | 2021-05-30 | 1 | -1/+1 |
| | |||||
* | fix: make data collection operations thread-safe | Ned Batchelder | 2021-05-03 | 1 | -1/+6 |
| | |||||
* | test: remove a changed test that wasn't supposed to be part of bb73791b | Ned Batchelder | 2021-05-03 | 1 | -6/+1 |
| | |||||
* | refactor: convert more %-formatting to f-strings | Ned Batchelder | 2021-05-02 | 1 | -1/+6 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: remove unused test class setting | Ned Batchelder | 2021-03-11 | 1 | -4/+0 |
| | | | | | | | | | unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it. | ||||
* | test: have pytest collect test classes uniformly | Ned Batchelder | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | fix: improve an error message. #803 | Ned Batchelder | 2021-02-28 | 1 | -2/+4 |
| | | | | Fixes #803. | ||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -6/+7 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -7/+9 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | | | | | | I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: https://github.com/pytest-dev/unittest2pytest/issues/52 | ||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -82/+77 |
| | | | | One step of moving to pure pytest tests. | ||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -2/+2 |
| | |||||
* | '[run] note' is no longer supported. | Ned Batchelder | 2019-11-09 | 1 | -32/+0 |
| | |||||
* | Setting query context has to be done with a separate method call | Ned Batchelder | 2019-10-02 | 1 | -7/+9 |
| | |||||
* | Updating with an empty data is ok | Ned Batchelder | 2019-09-03 | 1 | -0/+16 |
| | | | | | With no arc or line data, it used to choose lines arbitrarily, which would fail if an empty data was updating an arc data. | ||||
* | No need for format indexes (mostly) | Ned Batchelder | 2019-09-01 | 1 | -2/+2 |
| | |||||
* | Refactor numbits into their own files | Ned Batchelder | 2019-07-31 | 1 | -30/+0 |
| | |||||
* | z-compressed dumps and loads | Ned Batchelder | 2019-07-19 | 1 | -0/+28 |
| | |||||
* | Bitmaps for line numbers, 10% of the size. | Ned Batchelder | 2019-07-15 | 1 | -0/+30 |
| | |||||
* | Remove the JSON data code | Ned Batchelder | 2019-07-10 | 1 | -127/+3 |
| | |||||
* | Add some tests for new methods. | Stephan Richter | 2019-06-10 | 1 | -0/+54 |
| | |||||
* | A thread stress test | Ned Batchelder | 2019-04-09 | 1 | -0/+16 |
| | | | | (cherry picked from commit bc948ac1a5dca4d0a305a265de157d7505e4a4b2) | ||||
* | Make sure that arcs() and lines() only returns distinct line combination ↵ | Stephan Richter | 2019-02-17 | 1 | -0/+16 |
| | | | | values and not one entry for each context. | ||||
* | A test for 'no such table: meta' as in #716. | Ned Batchelder | 2018-10-16 | 1 | -0/+12 |
| | |||||
* | More tests need clear separation of databases | Ned Batchelder | 2018-09-02 | 1 | -13/+13 |
| | |||||
* | Tests of the schema checking | Ned Batchelder | 2018-08-26 | 1 | -10/+32 |
| | |||||
* | Stop TempDirTest from complaining that no files were made | Ned Batchelder | 2018-08-24 | 1 | -0/+1 |
| | |||||
* | PyPy needs to close cursors from pragmas | Ned Batchelder | 2018-08-24 | 1 | -0/+2 |
| | |||||
* | Cop out for a json/sql difference in data types | Ned Batchelder | 2018-08-24 | 1 | -5/+5 |
| | |||||
* | Get file_tracer semantics right, whew | Ned Batchelder | 2018-08-24 | 1 | -2/+2 |
| | |||||
* | Be flexible, and accept either json-sourced or sql-source error messages in ↵ | Ned Batchelder | 2018-08-24 | 1 | -2/+8 |
| | | | | some tests | ||||
* | Skip some tests for SQL for now | Ned Batchelder | 2018-08-24 | 1 | -2/+4 |
| | |||||
* | Start moving suffix to constructor | Ned Batchelder | 2018-08-12 | 1 | -14/+15 |
| |