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

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

src/u/l/ulib-HEAD/test_istream.py   ulib(Download)
        r = self.ss.getLine()
        self.assertEqual(r, "with\n")
        self.assertFalse(self.ss.eof(), "not at end of (ss)")
 
        r = self.ss.getLine()
        self.assertSame(ch, "d", "1st char is 'd'")
        b = fw.eof()
        self.assertFalse(b, "not at end of file")
        ch = fw.get()
        self.assertSame(ch, "a")