Test that appended escapes are only in the current instance.
(self)
| 941 | """ Tests escape character append. """ |
| 942 | |
| 943 | def testAppend(self): |
| 944 | """ Test that appended escapes are only in the current instance. """ |
| 945 | md = markdown.Markdown() |
| 946 | md.ESCAPED_CHARS.append('|') |
| 947 | self.assertEqual('|' in md.ESCAPED_CHARS, True) |
| 948 | md2 = markdown.Markdown() |
| 949 | self.assertEqual('|' not in md2.ESCAPED_CHARS, True) |
| 950 | |
| 951 | |
| 952 | class TestBlockAppend(unittest.TestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected