Skip to content
Snippets Groups Projects
Forked from atlas / athena
Source project has a limited visibility.
  • John Chapman's avatar
    7f70a9e8
    Fix for writing pickle files in python 3 · 7f70a9e8
    John Chapman authored
    Updated `ComponentAccumulator` configuration tests which dump the configuration to a pickle file.
    In python 3 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')
    ```
    7f70a9e8
    History
    Fix for writing pickle files in python 3
    John Chapman authored
    Updated `ComponentAccumulator` configuration tests which dump the configuration to a pickle file.
    In python 3 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.