aboutsummaryrefslogtreecommitdiff
path: root/bleach/tests/tools.py
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2015-12-06 13:31:51 +0000
committerChristopher Baines <mail@cbaines.net>2015-12-06 13:31:51 +0000
commit4cf150e98a62a0bcc307065a050f7d3a592289a2 (patch)
tree584483fb7e5e200b91b8f4a09a61d8253a5b597c /bleach/tests/tools.py
parent25893d8e7894f3e77f3f8ce9a6b84132968c15a9 (diff)
parent11b8160e584470439c8c0b3ab51012c9300f6788 (diff)
downloadpython-bleach-4cf150e98a62a0bcc307065a050f7d3a592289a2.tar
python-bleach-4cf150e98a62a0bcc307065a050f7d3a592289a2.tar.gz
Merge tag 'upstream/1.4.2'
Upstream version 1.4.2
Diffstat (limited to 'bleach/tests/tools.py')
-rw-r--r--bleach/tests/tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bleach/tests/tools.py b/bleach/tests/tools.py
index 87f926c..3ae047e 100644
--- a/bleach/tests/tools.py
+++ b/bleach/tests/tools.py
@@ -3,5 +3,5 @@
def in_(l, a, msg=None):
"""Shorthand for 'assert a in l, "%r not in %r" % (a, l)
"""
- if not a in l:
+ if a not in l:
raise AssertionError(msg or "%r not in %r" % (a, l))