From a6b2a15348f66090fd095492cdd768c36fefbe90 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 26 Apr 2012 17:48:50 +0000 Subject: Removed deprecated gender check in cz localflavor. Refs #14593. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17939 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/localflavor/cz/tests.py | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'tests') diff --git a/tests/regressiontests/localflavor/cz/tests.py b/tests/regressiontests/localflavor/cz/tests.py index becc02ba9c..b8b46b34bb 100644 --- a/tests/regressiontests/localflavor/cz/tests.py +++ b/tests/regressiontests/localflavor/cz/tests.py @@ -1,5 +1,3 @@ -import warnings - from django.contrib.localflavor.cz.forms import (CZPostalCodeField, CZRegionSelect, CZBirthNumberField, CZICNumberField) @@ -8,17 +6,6 @@ from django.test import SimpleTestCase class CZLocalFlavorTests(SimpleTestCase): - def setUp(self): - self.save_warnings_state() - warnings.filterwarnings( - "ignore", - category=DeprecationWarning, - module='django.contrib.localflavor.cz.forms' - ) - - def tearDown(self): - self.restore_warnings_state() - def test_CZRegionSelect(self): f = CZRegionSelect() out = u'''