From: Barry Warsaw Date: Thu, 16 Jan 1997 00:13:11 +0000 (+0000) Subject: test is no longer needed X-Git-Tag: v1.5a1~509 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4d7821ea4b0f2767e741513b20efab4aa11f2c1;p=python test is no longer needed --- diff --git a/Lib/test/output/test_xdr b/Lib/test/output/test_xdr deleted file mode 100644 index 1801a136ab..0000000000 --- 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 0cc7a3aff7..0000000000 --- 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()'