mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
100% coverage for vdirsyncer.__init__
This commit is contained in:
parent
5300e6816b
commit
f3c459eb7d
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ from __future__ import print_function
|
|||
|
||||
try:
|
||||
from .version import version as __version__ # noqa
|
||||
except ImportError:
|
||||
except ImportError: # pragma: no cover
|
||||
raise ImportError(
|
||||
'Failed to find (autogenerated) version.py. '
|
||||
'This might be because you are installing from GitHub\'s tarballs, '
|
||||
|
|
@ -15,7 +15,7 @@ except ImportError:
|
|||
)
|
||||
|
||||
|
||||
def _detect_faulty_requests():
|
||||
def _detect_faulty_requests(): # pragma: no cover
|
||||
import requests
|
||||
if 'dist-packages' not in requests.__file__:
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue