From 7f269b61f81258e370281d4e72fae808ed2d908c Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 22 Jun 2017 20:56:14 +0200 Subject: [PATCH] Added DeprecationWarning display. --- runtests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtests.py b/runtests.py index c6667e7..5f688e2 100755 --- a/runtests.py +++ b/runtests.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import os import sys +import warnings import django from django.conf import settings @@ -47,6 +48,7 @@ def runtests(): MIDDLEWARE_CLASSES=(), ) + warnings.simplefilter('always', DeprecationWarning) if django.VERSION >= (1, 7): django.setup() failures = call_command(