Skip to content

Commit

Permalink
Corrections as suggested by reviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Dec 22, 2023
1 parent a6b13b3 commit 8583d0a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/test_excelparser/test_excelparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ def test_excelparser_only_classes(repo_dir: "Path") -> None:
to version 0.5.2 in which only classes where considered, but with empty sheets
for properties."""

# Useful for debugging with ipython
# if True:
# from pathlib import Path
#
# repo_dir = Path(__file__).resolve().parent.parent.parent

ontopath = (
Expand All @@ -125,11 +125,9 @@ def test_excelparser_only_classes(repo_dir: "Path") -> None:
# Used for printing new ontology when debugging
# ontology.save("test_only_classes.ttl")

print("----- only in onto -----")
print(onto.difference(ontology))

print("----- only in ontology -----")
print(ontology.difference(onto))
# Useful for debugging
# print("----- only in onto -----")
# print(onto.difference(ontology))

assert onto == ontology
assert errors["already_defined"] == {"SpecialPattern"}
Expand Down

0 comments on commit 8583d0a

Please sign in to comment.