/usr/share/pyshared/zope/testrunner/testrunner-coverage-win32.txt is in python-zope.testrunner 4.0.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | Code Coverage
=============
On Windows drive names can be upper and lower case, these can be
randomly passed to TestIgnore.names.
Watch out for the case of the R drive!
>>> from zope.testrunner.coverage import TestIgnore
>>> ignore = TestIgnore((('r:\\winproject\\src\\blah\\foo', ''),
... ('R:\\winproject\\src\\blah\\bar', '')))
>>> ignore._test_dirs
['r:\\winproject\\src\\blah\\foo\\', 'R:\\winproject\\src\\blah\\bar\\']
We can now ask whether a particular module should be ignored:
>>> ignore.names('r:\\winproject\\src\\blah\\foo\\baz.py', 'baz')
False
>>> ignore.names('R:\\winproject\\src\\blah\\foo\\baz.py', 'baz')
False
>>> ignore.names('r:\\winproject\\src\\blah\\bar\\zab.py', 'zab')
False
>>> ignore.names('R:\\winproject\\src\\blah\\bar\\zab.py', 'zab')
False
>>> ignore.names('r:\\winproject\\src\\blah\\hello.py', 'hello')
True
>>> ignore.names('R:\\winproject\\src\\blah\\hello.py', 'hello')
True
|