diff options
| author | Senko Rasic <senko.rasic@dobarkod.hr> | 2013-05-19 12:49:03 +0200 |
|---|---|---|
| committer | Senko Rasic <senko.rasic@dobarkod.hr> | 2013-05-19 12:49:03 +0200 |
| commit | 65c557115f6e76293c39ce7b73b62216911f9489 (patch) | |
| tree | e69a40aae35a3358a6cab20f71adf03520ec6189 /tests/fixtures_regress | |
| parent | c44a2c40fe0ed79b0fa00233a204d41e9c677750 (diff) | |
fix warnings imports in fixtures tests
Diffstat (limited to 'tests/fixtures_regress')
| -rw-r--r-- | tests/fixtures_regress/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fixtures_regress/tests.py b/tests/fixtures_regress/tests.py index 97ad6c326a..5114302267 100644 --- a/tests/fixtures_regress/tests.py +++ b/tests/fixtures_regress/tests.py @@ -4,6 +4,7 @@ from __future__ import absolute_import, unicode_literals import os import re +import warnings from django.core.serializers.base import DeserializationError from django.core import management @@ -441,7 +442,6 @@ class TestFixtures(TestCase): def test_loaddata_not_existant_fixture_file(self): stdout_output = StringIO() - import warnings with warnings.catch_warnings(record=True): management.call_command( 'loaddata', |
