(self)
| 72 | assert r(self._b(p[1])) == v |
| 73 | |
| 74 | def test_list(self): |
| 75 | w = lambda x: self.wbuf().write_list(x).write_flush() # noqa |
| 76 | r = lambda x: self.rbuf(x).read_list() # noqa |
| 77 | tc = [(['d', 'ef', 'ault'], '00 00 00 09 64 2c 65 66 2c 61 75 6c 74')] |
| 78 | for p in tc: |
| 79 | assert w(p[0]) == self._b(p[1]) |
| 80 | assert r(self._b(p[1])) == p[0] |
| 81 | |
| 82 | def test_list_nonutf8(self): |
| 83 | r = lambda x: self.rbuf(x).read_list() # noqa |
nothing calls this directly
no test coverage detected