/usr/lib/python2.7/dist-packages/bleach/tests/tools.py is in python-bleach 1.4.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | def in_(l, a, msg=None):
"""Shorthand for 'assert a in l, "%r not in %r" % (a, l)
"""
if a not in l:
raise AssertionError(msg or "%r not in %r" % (a, l))
|