Add logging configuration to test_sqlite.py
|Reported by:||Anton Baklanov||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I am not able to see deprecation warnings while running tests with python 2.7. Adding -Wd and -Wall parameters has no effect either.
And only after adding
py.warnings logger i finally got my warnings. So i'm proposing to add this logger into 'default' django test config like that.
It may help to prevent commits like this one.
Change History (23)
comment:3 Changed 4 years ago by
|Severity:||Normal → Release blocker|
|Triage Stage:||Unreviewed → Accepted|
comment:12 Changed 4 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Accepted → Ready for checkin|