mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Raising index error while testing.
This commit is contained in:
parent
10e32d8db9
commit
dc0d2e57bb
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ class ZipIndexer(Indexer, ABC):
|
|||
return file_names
|
||||
except Exception as e:
|
||||
logger.error(f'Unable to get information from zip: {path}', exc_info=e)
|
||||
if PYTEST:
|
||||
raise
|
||||
|
||||
|
||||
WORD_SPLITTER = re.compile(r"([\w’'-]+)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue