summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-16 00:13:11 (GMT)
committerBarry Warsaw <barry@python.org>1997-01-16 00:13:11 (GMT)
commite4d7821ea4b0f2767e741513b20efab4aa11f2c1 (patch)
treedcbdec395a2c1da98829b6acaf339e1b555549f7 /Lib
parent52a6ea7b7da652c19c5175be0c3717c51b33f79c (diff)
downloadcpython-e4d7821ea4b0f2767e741513b20efab4aa11f2c1.zip
cpython-e4d7821ea4b0f2767e741513b20efab4aa11f2c1.tar.gz
cpython-e4d7821ea4b0f2767e741513b20efab4aa11f2c1.tar.bz2
test is no longer needed
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/output/test_xdr5
-rw-r--r--Lib/test/test_xdr.py27
2 files changed, 0 insertions, 32 deletions
diff --git a/Lib/test/output/test_xdr b/Lib/test/output/test_xdr
deleted file mode 100644
index 1801a13..0000000
--- a/Lib/test/output/test_xdr
+++ /dev/null
@@ -1,5 +0,0 @@
-test_xdr
-_xdr.pack_float()
-_xdr.unpack_float()
-_xdr.pack_double()
-_xdr.unpack_double()
diff --git a/Lib/test/test_xdr.py b/Lib/test/test_xdr.py
deleted file mode 100644
index 0cc7a3a..0000000
--- a/Lib/test/test_xdr.py
+++ /dev/null
@@ -1,27 +0,0 @@
-from test_support import verbose
-import _xdr
-
-fd = 8.01
-print '_xdr.pack_float()'
-s = _xdr.pack_float(fd)
-if verbose:
- print `s`
-print '_xdr.unpack_float()'
-f = _xdr.unpack_float(s)
-if verbose:
- print f
-if int(100*f) <> int(100*fd):
- print 'pack_float() <> unpack_float()'
-
-fd = 9900000.9
-print '_xdr.pack_double()'
-s = _xdr.pack_double(fd)
-if verbose:
- print `s`
-print '_xdr.unpack_double()'
-f = _xdr.unpack_double(s)
-if verbose:
- print f
-
-if int(100*f) <> int(100*fd):
- print 'pack_double() <> unpack_double()'