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

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

src/c/o/coveragepy-HEAD/tests/test_cmdline.py   coveragepy(Download)
from coverage.misc import ExceptionDuringRun
 
from tests.coveragetest import CoverageTest, OK, ERR
 
 
    def test_error(self):
        self.command_line("fooey kablooey", ret=ERR)
        out = self.stdout()
        assert "fooey" in out
        assert "help" in out

src/c/o/coverage-3.7.1/tests/test_cmdline.py   coverage(Download)
from coverage.misc import ExceptionDuringRun
 
from tests.coveragetest import CoverageTest, OK, ERR
 
 
    def test_error(self):
        self.command_line("fooey kablooey", ret=ERR)
        out = self.stdout()
        assert "fooey" in out
        assert "help" in out