mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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:
|
try:
|
||||||
from .version import version as __version__ # noqa
|
from .version import version as __version__ # noqa
|
||||||
except ImportError:
|
except ImportError: # pragma: no cover
|
||||||
raise ImportError(
|
raise ImportError(
|
||||||
'Failed to find (autogenerated) version.py. '
|
'Failed to find (autogenerated) version.py. '
|
||||||
'This might be because you are installing from GitHub\'s tarballs, '
|
'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
|
import requests
|
||||||
if 'dist-packages' not in requests.__file__:
|
if 'dist-packages' not in requests.__file__:
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue