Skip to content

Commit 449d49c

Browse files
authored
chore: fix build errors (#733)
1 parent 89e4c07 commit 449d49c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_all.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ def test_fastrun_label(self):
8181
assert item.labels.get(language='en') == "Earth"
8282
descr = item.descriptions.get(language='en')
8383
assert len(descr) > 3
84-
assert "the Earth" in item.aliases.get()
84+
assert "Planet Earth" in item.aliases.get()
8585

8686
assert list(frc.get_language_data("Q2", 'en', 'label'))[0] == item.labels.get(language='en')
8787
assert frc.check_language_data("Q2", ['not the Earth'], 'en', 'label')
88-
assert "the Earth" in item.aliases.get()
88+
assert "Planet Earth" in item.aliases.get()
8989
assert "planet" in item.descriptions.get()
9090

9191
assert item.labels.get('es') == "Tierra"

test/test_wbi_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_entity_generator(self):
169169
entity_instances = generate_entity_instances(entities=list(entities.keys()))
170170

171171
for qid, entity in entity_instances:
172-
self.assertIn(qid, entities)
172+
self.assertIn(qid, entities) # codespell:ignore
173173
assert entity.ETYPE == entities[qid]['etype']
174174
assert type(entity).__name__ == entities[qid]['ctype']
175175

0 commit comments

Comments
 (0)