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

Fixed #16028 - Moved defaultfilters tests into template_tests. #3734

Closed
wants to merge 1 commit into from
Closed

Fixed #16028 - Moved defaultfilters tests into template_tests. #3734

wants to merge 1 commit into from

Conversation

prestontimmons
Copy link
Contributor

No description provided.

'should be\nindented')

def test_indent2(self):
self.assertEqual(wordwrap('this is a short paragraph of text.\n '
Copy link
Member

Choose a reason for hiding this comment

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

I'd try to avoid breaking string arguments mid-line. Something like this would be more readable IMO:

self.assertEqual(
    wordwrap('....'),
    'expected',
)

@prestontimmons
Copy link
Contributor Author

Thanks, Tim. I fixed those issues and normalized the indentation.

@timgraham
Copy link
Member

merged in f91d736, thanks! cosmetic edits I made are here: http://dpaste.com/2T6C1M2

@timgraham timgraham closed this Dec 16, 2014
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.

2 participants