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

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/a/s/astm-0.5.0/astm/tests/test_protocol.py   astm(Download)
    def test_on_eot(self):
        obj = DummyProto()
        obj.on_eot = track_call(obj.on_eot)
        obj.dispatch(constants.EOT)
        self.assertTrue(obj.on_eot.was_called)