summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-02-24 20:22:10 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-02-24 20:22:10 (GMT)
commitc2a0ac20b7ba3c740f21607c4c8bc706f5d7b7c5 (patch)
tree589f8ff427b01e7e1685f8515cdd0c83503d2d0e /Lib/test/output
parentbc2c21ea521cf6ec2a8cd1fd3229226c157a5100 (diff)
downloadcpython-c2a0ac20b7ba3c740f21607c4c8bc706f5d7b7c5.zip
cpython-c2a0ac20b7ba3c740f21607c4c8bc706f5d7b7c5.tar.gz
cpython-c2a0ac20b7ba3c740f21607c4c8bc706f5d7b7c5.tar.bz2
Patch #1049151: adding bool support to xdrlib.py.
Also add xdrlib._test into the test suite.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_xdrlib19
1 files changed, 19 insertions, 0 deletions
diff --git a/Lib/test/output/test_xdrlib b/Lib/test/output/test_xdrlib
new file mode 100644
index 0000000..d86caa9
--- /dev/null
+++ b/Lib/test/output/test_xdrlib
@@ -0,0 +1,19 @@
+test_xdrlib
+pack test 0 succeeded
+pack test 1 succeeded
+pack test 2 succeeded
+pack test 3 succeeded
+pack test 4 succeeded
+pack test 5 succeeded
+pack test 6 succeeded
+pack test 7 succeeded
+pack test 8 succeeded
+unpack test 0 succeeded : 9
+unpack test 1 succeeded : True
+unpack test 2 succeeded : False
+unpack test 3 succeeded : 45
+unpack test 4 succeeded : 1.89999997616
+unpack test 5 succeeded : 1.9
+unpack test 6 succeeded : hello world
+unpack test 7 succeeded : [0, 1, 2, 3, 4]
+unpack test 8 succeeded : ['what', 'is', 'hapnin', 'doctor']