mirror of https://github.com/borgbackup/borg.git
Merge pull request #4659 from ThomasWaldmann/pytest-failsafe-1.1
cope with ANY error when importing pytest into borg.testsuite, #4652
This commit is contained in:
commit
b29dc81fa8
|
@ -27,7 +27,7 @@ except ImportError:
|
|||
|
||||
try:
|
||||
from pytest import raises
|
||||
except ImportError:
|
||||
except: # noqa
|
||||
raises = None
|
||||
|
||||
has_lchflags = hasattr(os, 'lchflags') or sys.platform.startswith('linux')
|
||||
|
|
Loading…
Reference in New Issue