pipeline was failing with decode error
I could not reproduce it, maybe this helps
This commit is contained in:
parent
b818ec6885
commit
12d1e9be65
|
@ -397,8 +397,8 @@ class TestResult:
|
||||||
v = VTK.load(tmp_path/fname)
|
v = VTK.load(tmp_path/fname)
|
||||||
v.comments = ['n/a']
|
v.comments = ['n/a']
|
||||||
v.save(tmp_path/fname,parallel=False)
|
v.save(tmp_path/fname,parallel=False)
|
||||||
with open(tmp_path/fname) as f:
|
with open(tmp_path/fname,'rb') as f:
|
||||||
cur = hashlib.md5(f.read().encode()).hexdigest()
|
cur = hashlib.md5(f.read()).hexdigest()
|
||||||
if update:
|
if update:
|
||||||
with open((ref_path/'export_VTK'/request.node.name).with_suffix('.md5'),'w') as f:
|
with open((ref_path/'export_VTK'/request.node.name).with_suffix('.md5'),'w') as f:
|
||||||
f.write(cur+'\n')
|
f.write(cur+'\n')
|
||||||
|
|
Loading…
Reference in New Issue