From 4147f539221d3a8f4a288f832d12d135594faad1 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 13 May 2011 12:42:15 +0200 Subject: [PATCH] Replaced a stray assert_. --- compressor/tests/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compressor/tests/tests.py b/compressor/tests/tests.py index 32903a0..71e6466 100644 --- a/compressor/tests/tests.py +++ b/compressor/tests/tests.py @@ -79,7 +79,8 @@ class CompressorTestCase(TestCase): def test_css_mtimes(self): is_date = re.compile(r'^\d{10}[\.\d]+$') for date in self.css_node.mtimes: - self.assert_(is_date.match(str(float(date))), "mtimes is returning something that doesn't look like a date: %s" % date) + self.assertTrue(is_date.match(str(float(date))), + "mtimes is returning something that doesn't look like a date: %s" % date) def test_css_return_if_off(self): settings.COMPRESS_ENABLED = False