Skip to content
Snippets Groups Projects
  • John Chapman's avatar
    bd7a6ec5
    Fix for python 3 syntax when writing out pkl files · bd7a6ec5
    John Chapman authored
    Updated ComponentAccumulator configuration tests which dump the configuration to a pickle file. 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')```
    bd7a6ec5
    History
    Fix for python 3 syntax when writing out pkl files
    John Chapman authored
    Updated ComponentAccumulator configuration tests which dump the configuration to a pickle file. 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')```
Code owners
Assign users and groups as approvers for specific file changes. Learn more.