Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-22790

pex_config FutureWarning reports wrong line number

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pex_config
    • Labels:
      None
    • Templates:
    • Story Points:
      0.5
    • Sprint:
      Arch 2019-12-16
    • Team:
      Architecture

      Description

      The warnings.warn call in pex_config that warns about a deprecated config item, reports a line number inside pex_config when it should be reporting a line number in user code. Add stacklevel=2 to the call.

        Attachments

          Activity

            People

            • Assignee:
              tjenness Tim Jenness
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              John Parejko
              Watchers:
              John Parejko, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel