summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-08 09:43:40 -0500
committerTim Graham <timograham@gmail.com>2015-01-08 09:43:40 -0500
commit600ea43e6735cfc035dc4a17ab23fd7927f1f9ee (patch)
tree57d126dfc30dbafe393d3627c16947b1e7c88a45
parent557c514f900b1280cfd4a892be893dd4c338ae74 (diff)
[1.7.x] Silenced initial_data fixtures warning in test suite.
-rwxr-xr-xtests/runtests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index 20f393ee3d..de0ef4a927 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -240,6 +240,11 @@ def django_tests(verbosity, interactive, failfast, test_labels):
)
warnings.filterwarnings(
'ignore',
+ 'initial_data fixtures are deprecated. Use data migrations instead.',
+ RemovedInDjango19Warning
+ )
+ warnings.filterwarnings(
+ 'ignore',
'IPAddressField has been deprecated. Use GenericIPAddressField instead.',
RemovedInDjango19Warning
)