Move xdrlib over to the bytes type.

This commit is contained in:
Brett Cannon 2007-07-26 03:19:46 +00:00
parent d24fffe7c6
commit 1eb79cfd6d
2 changed files with 7 additions and 7 deletions

View file

@ -8,8 +8,8 @@ class XDRTest(unittest.TestCase):
def test_xdr(self):
p = xdrlib.Packer()
s = 'hello world'
a = ['what', 'is', 'hapnin', 'doctor']
s = b'hello world'
a = [b'what', b'is', b'hapnin', b'doctor']
p.pack_int(42)
p.pack_uint(9)