CoverageSqliteData.filename gets mutated with suffix
See original GitHub issueWhile CoverageJsonData.filename
will be kept as the initial basename, CoverageSqliteData.filename
gets mutated with the suffix appended.
This is relevant for when using combine()
on an already used Coverage object, where the suffix is included in the glob pattern then already when looking for files to combine.
This appears to be (one of) the reason(s) for pytest-cov to have a separate Coverage object for this (https://github.com/pytest-dev/pytest-cov/blob/7205428bfb9ab9f8dbcaeefe23ce5fe426bb06b9/src/pytest_cov/engine.py#L152-L155).
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How SQLite Is Tested
Dbsqlfuzz mutates both the SQL and the database file at the same time, and is thus able to reach new error states. Dbsqlfuzz...
Read more >libFuzzer – a library for coverage-guided fuzz testing. - LLVM
LibFuzzer is linked with the library under test, and feeds fuzzed inputs to the library via a specific fuzzing entrypoint (aka “target function”);...
Read more >Opening database file from within SQLite command-line shell
You can attach one and even more databases and work with it in the same way like using sqlite dbname.db sqlite3 : sqlite>...
Read more >Variant Effect Predictor Plugins - VEP command line - Ensembl
Plugin Category Developer
AncestralAllele Conservation Ensembl
CADD. Combined Annotation Dependent Depletion Pathogenicity predictions Ensembl
CAPICE Pathogenicity predictions Ensembl
Read more >Data Management With Python, SQLite, and SQLAlchemy
Flat files for data storage; SQL to improve access to persistent data; SQLite for data storage; SQLAlchemy to work with data as Python...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is fixed in fdaf0356
I added a failing test to show the problem. It passes with the JSON storage, and fails with SQLite. I’m not entirely convinced this is an important case to keep working, but it shouldn’t be hard to fix either.