summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xdrlib.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-07-26 03:19:46 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-07-26 03:19:46 (GMT)
commit1eb79cfd6dfc5bb96a180fefc871fa1dc600a510 (patch)
tree0dd003abfbdf3a9bd305f53d924ded366ec7a3a9 /Lib/test/test_xdrlib.py
parentd24fffe7c67c2097aa33e04498dc6b3ae0cc17ab (diff)
downloadcpython-1eb79cfd6dfc5bb96a180fefc871fa1dc600a510.zip
cpython-1eb79cfd6dfc5bb96a180fefc871fa1dc600a510.tar.gz
cpython-1eb79cfd6dfc5bb96a180fefc871fa1dc600a510.tar.bz2
Move xdrlib over to the bytes type.
Diffstat (limited to 'Lib/test/test_xdrlib.py')
-rw-r--r--Lib/test/test_xdrlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_xdrlib.py b/Lib/test/test_xdrlib.py
index d0fb1e5..44d5a82 100644
--- a/Lib/test/test_xdrlib.py
+++ b/Lib/test/test_xdrlib.py
@@ -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)