From e4d7821ea4b0f2767e741513b20efab4aa11f2c1 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 16 Jan 1997 00:13:11 +0000 Subject: test is no longer needed --- Lib/test/output/test_xdr | 5 ----- Lib/test/test_xdr.py | 27 --------------------------- 2 files changed, 32 deletions(-) delete mode 100644 Lib/test/output/test_xdr delete mode 100644 Lib/test/test_xdr.py 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()' -- cgit v0.12