Skip to content

Commit

Permalink
🐛 fixed (again): Python 3.5 hates assert_called
Browse files Browse the repository at this point in the history
  • Loading branch information
miyuchina committed Dec 25, 2017
1 parent 9c1650d commit 318236d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/test_block_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@ def test_match(self):
with patch('mistletoe.block_token.Paragraph') as mock:
token = next(block_token.tokenize(['> line 1\n', '> line 2\n']))
self.assertIsInstance(token, block_token.Quote)
token.children
mock.assert_called()

def test_lazy_continuation(self):
with patch('mistletoe.block_token.Paragraph') as mock:
token = next(block_token.tokenize(['> line 1\n', 'line 2\n']))
self.assertIsInstance(token, block_token.Quote)
token.children
mock.assert_called()


class TestBlockCode(TestToken):
Expand Down

0 comments on commit 318236d

Please sign in to comment.