Whitespace clean up

This commit is contained in:
Garrett Coakley 2021-11-26 11:01:36 +00:00
parent ec30d6aa9b
commit a81e3fe4fe
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@ TRACKING_CODE = """
register = Library()
def _validate_no_args(token):
bits = token.split_contents()
if len(bits) > 1:

View file

@ -25,7 +25,7 @@ class HeapTagTestCase(TagTestCase):
def test_node(self):
r = HeapNode().render(Context({}))
assert "123456789" in r
def test_tags_take_no_args(self):
with pytest.raises(TemplateSyntaxError, match="'heap' takes no arguments"):
Template('{% load heap %}{% heap "arg" %}').render(Context({}))