diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-17 19:41:46 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-17 19:41:46 -0500 |
| commit | 8d959f73bed135c1253c0d957355b60fce4091e9 (patch) | |
| tree | 071a71a9223a2216836b73f0dc25c0c685d9471e | |
| parent | 40d6b376d4ac29c1f271bb827cd9ca24860ce4b5 (diff) | |
Removed obsolete deprecation warning in runtests.py
| -rwxr-xr-x | tests/runtests.py | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index 9be4460307..1ae981e905 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -231,17 +231,10 @@ def django_tests(verbosity, interactive, failfast, keepdb, reverse, test_labels, reverse=reverse, debug_sql=debug_sql, ) - # Catch warnings thrown in test DB setup -- remove in Django 1.9 - with warnings.catch_warnings(): - warnings.filterwarnings( - 'ignore', - "Custom SQL location '<app_label>/models/sql' is deprecated, " - "use '<app_label>/sql' instead.", - RemovedInDjango19Warning - ) - failures = test_runner.run_tests( - test_labels or get_installed(), extra_tests=extra_tests) - + failures = test_runner.run_tests( + test_labels or get_installed(), + extra_tests=extra_tests, + ) teardown(state) return failures |
