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 b86af0b commit 253ded0Copy full SHA for 253ded0
tests/test_ctl_core.py
@@ -160,7 +160,8 @@ 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:
- md5_hash = hashlib.md5(file.read()).hexdigest()
165
- assert md5_hash == "d3e9fdbe78fee450f212d605584f3b2a"
+ sha256_hash = hashlib.sha256(file.read()).hexdigest()
166
+ assert sha256_hash == "21de07e261ac4b95b8a589530fa73e4762639e29dc1f94c8f0598fa48fc5767f"
167
os.remove(file_name)
0 commit comments