aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-04-20 17:08:14 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-04-20 17:08:14 -0400
commitef35b938b770ed3d0d5262442e025516d4b6841a (patch)
treed3fe4db1059e96364ae37633186c8e5fa6ca1bd9 /tests
parenta24cfba970406be2a46832a567a8b234448aeaa6 (diff)
downloadmarkdown-ef35b938b770ed3d0d5262442e025516d4b6841a.tar.gz
markdown-ef35b938b770ed3d0d5262442e025516d4b6841a.tar.bz2
markdown-ef35b938b770ed3d0d5262442e025516d4b6841a.zip
No assertIs in Python 2.6. Fixes #294
Diffstat (limited to 'tests')
-rw-r--r--tests/test_apis.py2
1 files changed, 1 insertions, 1 deletions
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)