Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Just like self.assertTrue(a in b), but with a nicer default message.

src/n/a/Nagstamon-HEAD/Nagstamon/Nagstamon/thirdparty/keyring/tests/test_util.py   Nagstamon(Download)
    def check_escape_unescape(self, initial):
        escaped = escape.escape(initial)
        for c in escaped:
            self.assertIn(c, escape.LEGAL_CHARS + '_')
        unescaped = escape.unescape(escaped)

src/k/e/keyring-3.7/keyring/tests/test_util.py   keyring(Download)
    def check_escape_unescape(self, initial):
        escaped = escape.escape(initial)
        for c in escaped:
            self.assertIn(c, escape.LEGAL_CHARS + '_')
        unescaped = escape.unescape(escaped)