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 253ded0 commit 4ef82ebCopy full SHA for 4ef82eb
tests/test_ctl_core.py
@@ -156,12 +156,3 @@ def test_tree_structure_without_postag_nodes(self):
156
bracketed_string = "(SQ (S (VP Let (S (NP 's) (VP test (NP the improvements))))) , shall (NP we) ?)"
157
assert tree_without_postag_nodes.to_bracketed_tree_string() == bracketed_string
158
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