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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/o/coveragepy-HEAD/tests/coveragetest.py   coveragepy(Download)
    def assert_exists(self, fname):
        """Assert that `fname` is a file that exists."""
        msg = "File %r should exist" % fname
        self.assertTrue(os.path.exists(fname), msg)
    def assert_doesnt_exist(self, fname):
        """Assert that `fname` is a file that doesn't exist."""
        msg = "File %r shouldn't exist" % fname
        self.assertTrue(not os.path.exists(fname), msg)

src/c/o/coverage-3.7.1/tests/test_testing.py   coverage(Download)
    def test_assert_true(self):
        self.assertRaises(AssertionError, self.assertTrue, False)
    def test_assert_false(self):