django__django-14765
ProjectState.__init__() can assume its real_apps argument is a set
Verdict: the fix is stated in the issue (Tier A).
In ProjectState.__init__() now, then, instead of checking that real_apps is a set and converting it to a set if not, it can just assert that it's a set when non-None.
The text states the fix: “In ProjectState.__init__() now, then, instead of checking that real_apps is a set and converting it to a set if not, it can just assert that it's a set when non-None.”
All SWE-bench Verified tasks · more django/django tasks · How the check works