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
commit11b8160e584470439c8c0b3ab51012c9300f6788 (patch)
treedbc2728474f7c3f578e2afb8d0d74f55f2823114 /bleach/tests/tools.py
parent6cff86ce6de27fbd4f9fc07716fb1205b14ffae4 (diff)
downloadpython-bleach-11b8160e584470439c8c0b3ab51012c9300f6788.tar
python-bleach-11b8160e584470439c8c0b3ab51012c9300f6788.tar.gz
Imported Upstream version 1.4.2upstream/1.4.2upstream
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))