Skip to content

Commit 4ef82eb

Browse files
author
Halvani
committed
Updated test_ctl_core.py
1 parent 253ded0 commit 4ef82eb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/test_ctl_core.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,3 @@ def test_tree_structure_without_postag_nodes(self):
156156
bracketed_string = "(SQ (S (VP Let (S (NP 's) (VP test (NP the improvements))))) , shall (NP we) ?)"
157157
assert tree_without_postag_nodes.to_bracketed_tree_string() == bracketed_string
158158

159-
def test_svg_export(self):
160-
file_name = "tree.svg"
161-
sentence = "Python is an awesome coding language!"
162-
ConstituentTree(sentence, self.nlp).export_tree(file_name)
163-
164-
with open(file_name, "rb") as file:
165-
sha256_hash = hashlib.sha256(file.read()).hexdigest()
166-
assert sha256_hash == "21de07e261ac4b95b8a589530fa73e4762639e29dc1f94c8f0598fa48fc5767f"
167-
os.remove(file_name)

0 commit comments

Comments
 (0)