Loading tests/runtests.py +10 −2 Original line number Diff line number Diff line Loading @@ -206,6 +206,14 @@ def django_tests(verbosity, interactive, failfast, test_labels): interactive=interactive, failfast=failfast, ) # 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.", PendingDeprecationWarning ) failures = test_runner.run_tests( test_labels or get_installed(), extra_tests=extra_tests) Loading Loading
tests/runtests.py +10 −2 Original line number Diff line number Diff line Loading @@ -206,6 +206,14 @@ def django_tests(verbosity, interactive, failfast, test_labels): interactive=interactive, failfast=failfast, ) # 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.", PendingDeprecationWarning ) failures = test_runner.run_tests( test_labels or get_installed(), extra_tests=extra_tests) Loading