summaryrefslogtreecommitdiffstats
path: root/flatpages/tests.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip@Muscogee.localdomain>2020-05-24 01:57:06 +0100
committerWookey <wookey@wookware.org>2020-05-24 20:56:27 +0100
commit50d753a87b5f6bc4fe31e222a37796cf903133f7 (patch)
tree885b01fa921893684b602c20392c1ef995e13482 /flatpages/tests.py
parent35f85c55f14e707e37d822041e25bca2913f48c4 (diff)
downloadtroggle-50d753a87b5f6bc4fe31e222a37796cf903133f7.tar.gz
troggle-50d753a87b5f6bc4fe31e222a37796cf903133f7.tar.bz2
troggle-50d753a87b5f6bc4fe31e222a37796cf903133f7.zip
Convert codebase for python3 usage
Diffstat (limited to 'flatpages/tests.py')
-rw-r--r--flatpages/tests.py2
1 files changed, 1 insertions, 1 deletions
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.