Skip to content

More pickle file writing syntax files for python 3 compatibility

Updated ComponentAccumulator configuration tests which dump the configuration to a pickle file.
Use open(...) rather than file(...) when creating a file for python3 compatibility.
In python3 the output file needs to be explicitly opened in binary mode.
I.e.
f = open('configdump.pkl','wb')
rather than
f = open('configdump.pkl','w')

Merge request reports