coverage==4.0 hangs indefinitely on python2.7 + windows · Issue #420 · nedbat/coveragepy (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@nedbat

Description

@nedbat

Originally reported by Anthony Sottile (Bitbucket: asottile, GitHub: asottile)


The reproduction here is a bit complicated because I haven't quite narrowed it down yet but here goes.

I noticed this initially when my build was running indefinitely (and eventually failing) here : https://ci.appveyor.com/project/asottile/pre-commit/branch/master/job/r57jhonel6dlgd9d

My "minimal" reproduction is as follows:

  1. git clone git://github.com/pre-commit/pre-commit
  2. cd pre-commit
  3. virtualenv venv
  4. . venv/Scripts/activate
  5. pip install -r requirements-dev.txt
  6. pip install 'coverage<4'
  7. coverage run -m pytest tests -k test_parse_merge # Runs and succeeds
  8. pip install 'coverage>=4'
  9. coverage run -m pytest tests -k test_parse_merge # Hangs forever

I've attached a screenshot (the contrast sucks because the window froze on my VM)