Skip to content

Commit

Permalink
Also show warning via coverage and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Jan 31, 2018
1 parent e21843a commit d4cf32b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
#!/usr/bin/env python -Wd
import sys
import warnings
from os.path import abspath, dirname

import dj_database_url
import django
from django.conf import settings
from django.core.management import execute_from_command_line

# python -Wd, or run via coverage:
warnings.simplefilter('always', DeprecationWarning)

# Give feedback on used versions
sys.stderr.write('Using Python version {0} from {1}\n'.format(sys.version[:5], sys.executable))
Expand Down

0 comments on commit d4cf32b

Please sign in to comment.