Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
klebster2 authored Nov 2, 2024
1 parent fb693c6 commit 7b3df52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def install(package: str):
for dataset_name, item in wn.config.index.items()
if item.get("language")
}
if "PYTEST_CURRENT_TEST" in os.environ:
if not any(re.findall(r"pytest|py.test", sys.argv[0])):
ARTEFACT_NAME = LANGUAGE_TO_WORDNET_ARTEFACT["mul"]
else:
ARTEFACT_NAME = LANGUAGE_TO_WORDNET_ARTEFACT.get(
Expand Down

0 comments on commit 7b3df52

Please sign in to comment.