Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure block elements are defined per instance #731

Merged
merged 1 commit into from Oct 9, 2018
Merged

Ensure block elements are defined per instance #731

merged 1 commit into from Oct 9, 2018

Conversation

facelessuser
Copy link
Collaborator

Block level elements should be defined per instance, not as base class variables. Ref #730

Block level elements should be defined per instance, not as base class variables.
@@ -942,6 +942,18 @@ def testAppend(self):
self.assertEqual('|' not in md2.ESCAPED_CHARS, True)


class TestBlockAppend(unittest.TestCase):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@waylan , wasn't sure if you have a special place for new API tests, so I put this with the old.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't actually testing rendered output, so this is were it belongs.

@waylan waylan merged commit 042bd0b into Python-Markdown:master Oct 9, 2018
@waylan waylan added this to the Version 3.1 milestone Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants