Skip to content

"try:", "except:" and "break:" lines always reported as missing under Jython #120

Open
@nedbat

Description

@nedbat

Originally reported by Geoff Bache (Bitbucket: geoffbache, GitHub: Unknown)


This is using the suggested method of collecting coverage info under Jython and then building the report under CPython.

The problem is that Jython's sys.settrace does not do anything for the listed lines, whereas CPython thinks they could have been covered, so they are always reported as missing.

No response when asking about this on the Jython list. A workaround in coverage.py would be nice, might get round to writing one.


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexoticUnusual execution environment

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions