DeprecationWarning: assertDictContainsSubset is deprecated · Issue #35175 · openedx/openedx-platform · GitHub
Skip to content

DeprecationWarning: assertDictContainsSubset is deprecated #35175

Description

@irtazaakram

The assertDictContainsSubset method was deprecated in version 3.2 and removed in version 3.11.

Reference: python/cpython#28268

Example usage in edx-platform:
https://github.com/openedx/edx-platform/blob/03a8f5daf78db505d40c46e3c592680fd5475526/cms/djangoapps/api/v1/tests/test_views/test_course_runs.py#L289

Example replacement:
python/cpython#28268 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions