Results 116 issues of Ned Batchelder

This .rst: ``` Simple Lists ------------ - Item 1 - Item 2 - Item 3 ``` is output as: ``` # Simple Lists * Item 1 * Item 2 *...

Coverage.py has an issue about phantom code when using PonyORM: https://github.com/nedbat/coveragepy/issues/1136 The problem arises because of [this line](https://github.com/ponyorm/pony/blob/orm/pony/orm/asttranslation.py#L368): ``` code = compile(src, src, 'eval') ``` This compiles `src`, but uses...

## Expected Behavior Lint a comment message like "try out commitlint." Two errors are flagged: ``` Error: You have commit messages with errors ⧗ input: try out commitlint. ✖ subject...

triage

The [published changelog](https://django-bootstrap3.readthedocs.io/en/latest/changelog.html) has no entry for 21.1?

**Issue** The coverage.py test suite fails on Appveyor with virtualenv 20.0.34: one particular multiprocessing test gets stuck and is eventually killed. This happens with Python 3.7 or 3.8. Moving back...

needs-reproducer

I had a mutant that survived on Python 3, but would have died under Python 2. So I wanted to have mutmut run the tests under both versions. First I...

bug
enhancement

The contributing guidelines say, "please ensure the coverage at least stays the same before you submit a pull request," but there is no coverage reporting when running the tests with...

```py import cairo with cairo.SVGSurface("example.svg", 200, 200) as surface: context = cairo.Context(surface) context.move_to(100, 200) print(context.get_current_point()) context.save() context.move_to(300, 400) print(context.get_current_point()) context.restore() print(context.get_current_point()) ``` This prints: ``` (100.0, 200.0) (300.0, 400.0) (300.0,...

See https://github.com/nedbat/coveragepy/issues/1310 . Removing pytest-cov solves the problem. What is pytest-cov doing that causes this problem?

I've been working in the pytest-cov code recently to get it to support coverage.py 5.0 (pull request: #319), and also reviewing #330. The problems that have come up have brought...