def test_buffiter(self): bi = rpyc.buffiter(self.conn.modules.__builtin__.xrange(10000)) assert list(bi) == range(10000)
def test_buffiter(self): bi = rpyc.buffiter(self.conn.builtin.range(10000)) self.assertEqual(list(bi), list(range(10000)))