Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

squarecapadmin / bleach   python

Repository URL to install this package:

Version: 1.4 

/ bleach / tests / tools.py



def in_(l, a, msg=None):
    """Shorthand for 'assert a in l, "%r not in %r" % (a, l)
    """
    if not a in l:
        raise AssertionError(msg or "%r not in %r" % (a, l))