nose-devs/nose — Issue #181: The --with-coverage option doesn't ignore #pragma: no cover lines when determining coverage
Author: jpellerin
Created: 2011-12-14 16:02:59+00:00
State: open

What steps will reproduce the problem?
1. > nosetests --with-coverage test_coverageProb.py
2. > coverage.py -x coverageProb.py
3. > coverage.py -r -m coverageProb.py
4. compare the coverage numbers

What is the expected output? The coverage numbers should be the same.

What do you see instead? nose coverage doesn't ignore the foobar() function
with the #pragma: no cover comment when calculating the coverage numbers.

What version of the product are you using? nose 0.9.1 and coverage.py 2.6
On what operating system? Windows 2000

Please provide any additional information below.

Google Code Info:
Issue #: 25
Author: billzing...@gmail.com
Created On: 2007-01-10T21:48:20.000Z
Closed On: 2007-03-04T15:04:28.000Z