#32821: Use a with statement when using os.scandir()
-------------------------------------+-------------------------------------
Reporter: Chris Jerdonek | Owner: Chris
Type: | Jerdonek
Cleanup/optimization | Status: assigned
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Chris Jerdonek):
Two of the occurrences are in non-test code
(`django/core/files/storage.py` and `django/forms/fields.py`), so "Testing
framework" doesn't seem quite right to me. It gives the impression non-
test code isn't affected.
--
Ticket URL: <https://code.djangoproject.com/ticket/32821#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.40843a228d640d1e216627993e75b413%40djangoproject.com.