Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snguyenthanh committed Nov 2, 2020
1 parent 890c391 commit 7b6e369
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def test_contains_profanity(self):
self.assertTrue(profane)

def test_leaves_paragraphs_untouched(self):
innocent_text = """If you prick us do we not bleed?
If you tickle us do we not laugh?
innocent_text = """If you tickle us do we not laugh?
If you poison us do we not die?
And if you wrong us shall we not revenge?"""
censored_text = profanity.censor(innocent_text)
Expand Down

0 comments on commit 7b6e369

Please sign in to comment.