We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb693c6 commit 7b3df52Copy full SHA for 7b3df52
python/plugin.py
@@ -33,7 +33,7 @@ def install(package: str):
33
for dataset_name, item in wn.config.index.items()
34
if item.get("language")
35
}
36
-if "PYTEST_CURRENT_TEST" in os.environ:
+if not any(re.findall(r"pytest|py.test", sys.argv[0])):
37
ARTEFACT_NAME = LANGUAGE_TO_WORDNET_ARTEFACT["mul"]
38
else:
39
ARTEFACT_NAME = LANGUAGE_TO_WORDNET_ARTEFACT.get(
0 commit comments