#33220: Test suite failures when using PYTHONOPTIMIZE or optimization CLI flags -------------------------------------+------------------------------------- Reporter: Keryn Knight | Owner: nobody Type: | Status: closed Cleanup/optimization | Component: Testing framework | Version: dev Severity: Normal | Resolution: wontfix Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Mariusz Felisiak):
* status: new => closed * resolution: => wontfix Comment: Raising specific errors instead of using `assert` was already discussed in #32508. We decided that remaining cases are valid and should remain as `assert`. I don't think it's worth changing other tests that fail with `-O`. -- Ticket URL: <https://code.djangoproject.com/ticket/33220#comment:1> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.5863b301135204d4f603502b3e56fbfc%40djangoproject.com.