Skip to content

Commit 32f20df

Browse files
committed
Fix test_examples_diff: Synonyms is optional, remove from required keys; revert no-op Synonyms init
1 parent 6219a9f commit 32f20df

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
here = path.abspath(path.dirname(__file__))
55

6-
__version__ = "1.6.5"
6+
__version__ = "1.6.6"
77

88
# Get the long description from the README file
99
with open(path.join(here, 'README.md')) as f:

src/test/test_examples_diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def main():
173173
failed = True
174174
continue
175175

176-
expected_keys = ['IsIndividual', 'IsClass', 'Images', 'Examples', 'Domains', 'Licenses', 'Publications', 'Synonyms']
176+
expected_keys = ['IsIndividual', 'IsClass', 'Images', 'Examples', 'Domains', 'Licenses', 'Publications']
177177
for key in expected_keys:
178178
if key not in result:
179179
print(f'{Fore.RED}Missing key: {key}{Style.RESET_ALL}')

src/vfbquery/vfb_queries.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ def term_info_parse_object(results, short_form):
408408
termInfo["Domains"] = {}
409409
termInfo["Licenses"] = {}
410410
termInfo["Publications"] = []
411-
termInfo["Synonyms"] = []
412411
termInfo["IsPaintedDomain"] = False
413412
termInfo["Technique"] = []
414413

0 commit comments

Comments
 (0)