Changes between Initial Version and Version 8 of Ticket #29658
- Timestamp:
- Aug 21, 2018, 10:38:52 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29658
- Property Triage Stage Unreviewed → Ready for checkin
- Property Owner changed from to
- Property Status new → assigned
- Property Has patch set
- Property Summary Use unittest.addCleanup to unregister lookups. → Use a context manager to unregister model field lookups in tests
-
Ticket #29658 – Description
initial v8 9 9 }}} 10 10 11 It'd be better to use `unittest.addCleanup`to handle this stuff.11 It'd be better to use a context manager (`addCleanup()` was originally proposed) to handle this stuff.