Add branch coverage workaround for coverage.py bug.
This commit is contained in:
parent
b93b32c92f
commit
b850df090b
@ -52,7 +52,8 @@ SELECTORS = {
|
||||
Group.focus: '*:focus',
|
||||
}
|
||||
|
||||
FILTERS = {
|
||||
# WORKAROUND for https://bitbucket.org/ned/coveragepy/issues/90
|
||||
FILTERS = { # pragma: no branch
|
||||
Group.links: (lambda e: 'href' in e and
|
||||
QUrl(e['href']).scheme() != 'javascript'),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user