• 
      

    Fix a unit test regression in rbtools.config on Python 3.7-3.9.

    Review Request #13073 — Created May 30, 2023 and submitted

    Information

    RBTools
    release-5.x

    Reviewers

    The check for a Syntax Error when loading .reviewboardrc failed on
    Python 3.7-3.9. This was due to a difference in how these versions
    reported the column information.

    This change makes the expected column conditional based on Python
    version, and simplifies the message prefix we check to simply leave out
    that information.

    All unit tests pass on Python 3.7-3.11.

    Summary ID
    Fix a unit test regression in rbtools.config on Python 3.7-3.9.
    The check for a Syntax Error when loading `.reviewboardrc` failed on Python 3.7-3.9. This was due to a difference in how these versions reported the column information. This change makes the expected column conditional based on Python version, and simplifies the message prefix we check to simply leave out that information.
    1f02c8c3ae08eca3b8ebca6f05ade430cc95199d
    maubin
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.x (0c53220)