@test.raises(TypeError)
    def test_render_bad_out(self):
        self.app.setup()
        self.app.run()

        try:
            self.app.render(dict(foo='bar'), out='bogus type')
        except __HOLE__ as e:
            self.eq(e.args[0], "Argument 'out' must be a 'file' like object")
            raise
dataset/ETHPy150Open datafolklabs/cement/tests/core/foundation_tests.py/FoundationTestCase.test_render_bad_out