From 50d753a87b5f6bc4fe31e222a37796cf903133f7 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 24 May 2020 01:57:06 +0100 Subject: Convert codebase for python3 usage --- flatpages/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flatpages/tests.py') diff --git a/flatpages/tests.py b/flatpages/tests.py index 2247054..c7c4668 100644 --- a/flatpages/tests.py +++ b/flatpages/tests.py @@ -12,7 +12,7 @@ class SimpleTest(TestCase): """ Tests that 1 + 1 always equals 2. """ - self.failUnlessEqual(1 + 1, 2) + self.assertEqual(1 + 1, 2) __test__ = {"doctest": """ Another way to test that 1 + 1 is equal to 2. -- cgit v1.2.3