# Path: tests/markdown_test/test_utils.py
# class MarkdownTest(TemplarTest):
#     def setUp(self):
#         pass
# 
#     def tearDown(self):
#         pass
# 
#     def assertMarkdown(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertEqual(output + '\n', convert(markdown) + '\n')
#         except AssertionError:
#             raise
# 
#     def assertMarkdownNotEqual(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertNotEqual(output, convert(markdown))
#         except AssertionError:
#             raise
# 
#     def assertMarkdownIgnoreWS(self, markdown, output):
#         markdown = self.dedent(markdown)
#         try:
#             self.assertEqual(self.ignoreWhitespace(output),
#                              self.ignoreWhitespace(convert(markdown)))
#         except AssertionError:
#             raise


from tests.markdown_test.test_utils import MarkdownTest
        self.assertMarkdown(text, expect)

        text = "_This is an em_"
        expect = "<p><em>This is an em</em></p>"
        self.assertMarkdown(text, expect)

    def testWhitespace(self):
        text = "This is * not an em *"
        expect = "<p>This is * not an em *</p>"
        self.assertMarkdown(text, expect)

        text = "This is _ not an em _"
        expect = "<p>This is _ not an em _</p>"
        self.assertMarkdown(text, expect)

    def testNewline(self):
        text = "This *is an\nem* here"
        expect = "<p>This <em>is an\nem</em> here</p>"
        self.assertMarkdown(text, expect)

    def testMixedDelimiter(self):
        text = "This *is not an em_ here"
        expect = "<p>This *is not an em_ here</p>"
        self.assertMarkdown(text, expect)

    def testUnderscoreInAsterisk(self):
        text = "This *is an em_ here*"
        expect = "<p>This <em>is an em_ here</em></p>"
        self.assertMarkdown(text, expect)


# Path: tests/markdown_test/test_utils.py
# class MarkdownTest(TemplarTest):
#     def setUp(self):
#         pass
# 
#     def tearDown(self):
#         pass
# 
#     def assertMarkdown(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertEqual(output + '\n', convert(markdown) + '\n')
#         except AssertionError:
#             raise
# 
#     def assertMarkdownNotEqual(self, markdown, output):
#         markdown = self.dedent(markdown)
#         output = self.dedent(output)
#         try:
#             self.assertNotEqual(output, convert(markdown))
#         except AssertionError:
#             raise
# 
#     def assertMarkdownIgnoreWS(self, markdown, output):
#         markdown = self.dedent(markdown)
#         try:
#             self.assertEqual(self.ignoreWhitespace(output),
#                              self.ignoreWhitespace(convert(markdown)))
#         except AssertionError:
#             raise


# Path: tests/markdown_test/emphasis_test.py
from tests.markdown_test.test_utils import MarkdownTest

        self.assertMarkdown(text, expect)

        text = "_This is an em_"
        expect = "<p><em>This is an em</em></p>"
        self.assertMarkdown(text, expect)

    def testWhitespace(self):
        text = "This is * not an em *"
        expect = "<p>This is * not an em *</p>"
        self.assertMarkdown(text, expect)

        text = "This is _ not an em _"
        expect = "<p>This is _ not an em _</p>"
        self.assertMarkdown(text, expect)

    def testNewline(self):
        text = "This *is an\nem* here"
        expect = "<p>This <em>is an\nem</em> here</p>"
        self.assertMarkdown(text, expect)

    def testMixedDelimiter(self):
        text = "This *is not an em_ here"
        expect = "<p>This *is not an em_ here</p>"
        self.assertMarkdown(text, expect)

    def testUnderscoreInAsterisk(self):
        text = "This *is an em_ here*"
        expect = "<p>This <em>is an em_ here</em></p>"
        self.assertMarkdown(text, expect)


class StrongTest(MarkdownTest):