Run python-modernize on common/lib/capa

Description

Run python-modernize on the Python files under common/lib/capa in the edx-platform repository, to make them more compatible with Python 3.x without breaking Python 2.7 support:

  • python-modernize -w common/lib/capa

  • Make sure the changes look reasonable and submit them as a pull request; mention this ticket in the description.

  • Ask for tests to be triggered if they don't start automatically.

  • Fix any test failures caused by the changes.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Assignee

Unassigned

Reporter

Jeremy Bowman

Labels

None

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Priority

Unset
Configure