From ef35b938b770ed3d0d5262442e025516d4b6841a Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sun, 20 Apr 2014 17:08:14 -0400 Subject: No assertIs in Python 2.6. Fixes #294 --- tests/test_apis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_apis.py b/tests/test_apis.py index a7d6685..7a0147a 100644 --- a/tests/test_apis.py +++ b/tests/test_apis.py @@ -422,7 +422,7 @@ class testAtomicString(unittest.TestCase): class TestConfigParsing(unittest.TestCase): def assertParses(self, value, result): - self.assertIs(markdown.util.parseBoolValue(value, False), result) + self.assertTrue(markdown.util.parseBoolValue(value, False) is result) def testBooleansParsing(self): self.assertParses(True, True) -- cgit v1.2.3