Unusual exclusions stopped working in coverage 4

Issue #455 resolved
Ned Batchelder
repo owner created an issue

In https://github.com/flowroute/ebb-lint, the py27 exclusions don't seem to be working in the 2.7 build. See line 85 in flake8.py Tested with commit 2d4dc9d09f4a9af78b58ea962f042415d24430ef. Coverage.py 3.7.1 excludes the lines properly, 4.0.3 does not.

Comments (4)

  1. Ned Batchelder reporter

    This almost certainly has to do with the fact that the exclusion has a non-ascii character in it, and the match is being made between a utf-8 regex and a unicode source.

  2. Log in to comment