From dde5c70c8af0417d4c6b675ea52852e41886e573 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 10 Dec 1996 23:20:09 +0000 Subject: [PATCH] Test output files in their new location --- Lib/test/output/test_array | 1 + Lib/test/output/test_builtin | 48 +++++++++++++++++++++++++++++++++ Lib/test/output/test_cmath | 1 + Lib/test/output/test_crypt | 2 ++ Lib/test/output/test_dbm | 1 + Lib/test/output/test_exceptions | 23 ++++++++++++++++ Lib/test/output/test_grammar | 46 +++++++++++++++++++++++++++++++ Lib/test/output/test_math | 26 ++++++++++++++++++ Lib/test/output/test_md5 | 9 +++++++ Lib/test/output/test_new | 1 + Lib/test/output/test_opcodes | 5 ++++ Lib/test/output/test_operations | 3 +++ Lib/test/output/test_strop | 1 + Lib/test/output/test_time | 1 + Lib/test/output/test_types | 15 +++++++++++ 15 files changed, 183 insertions(+) create mode 100644 Lib/test/output/test_array create mode 100644 Lib/test/output/test_builtin create mode 100644 Lib/test/output/test_cmath create mode 100644 Lib/test/output/test_crypt create mode 100644 Lib/test/output/test_dbm create mode 100644 Lib/test/output/test_exceptions create mode 100644 Lib/test/output/test_grammar create mode 100644 Lib/test/output/test_math create mode 100644 Lib/test/output/test_md5 create mode 100644 Lib/test/output/test_new create mode 100644 Lib/test/output/test_opcodes create mode 100644 Lib/test/output/test_operations create mode 100644 Lib/test/output/test_strop create mode 100644 Lib/test/output/test_time create mode 100644 Lib/test/output/test_types diff --git a/Lib/test/output/test_array b/Lib/test/output/test_array new file mode 100644 index 00000000000..deb6f3f5706 --- /dev/null +++ b/Lib/test/output/test_array @@ -0,0 +1 @@ +test_array diff --git a/Lib/test/output/test_builtin b/Lib/test/output/test_builtin new file mode 100644 index 00000000000..601bdd6e237 --- /dev/null +++ b/Lib/test/output/test_builtin @@ -0,0 +1,48 @@ +test_builtin +4. Built-in functions +test_b1 +__import__ +abs +apply +callable +chr +cmp +coerce +compile +delattr +dir +divmod +eval +execfile +filter +float +getattr +hasattr +hash +hex +id +int +len +long +map +max +min +test_b2 +oct +open +ord +pow +range +input and raw_input +testing +testing +reduce +reload +repr +round +setattr +str +tuple +type +vars +xrange diff --git a/Lib/test/output/test_cmath b/Lib/test/output/test_cmath new file mode 100644 index 00000000000..102d712eb03 --- /dev/null +++ b/Lib/test/output/test_cmath @@ -0,0 +1 @@ +test_cmath diff --git a/Lib/test/output/test_crypt b/Lib/test/output/test_crypt new file mode 100644 index 00000000000..d0134bc64bf --- /dev/null +++ b/Lib/test/output/test_crypt @@ -0,0 +1,2 @@ +test_crypt +Test encryption: abeTm2pJKypwA diff --git a/Lib/test/output/test_dbm b/Lib/test/output/test_dbm new file mode 100644 index 00000000000..c65497014e0 --- /dev/null +++ b/Lib/test/output/test_dbm @@ -0,0 +1 @@ +test_dbm diff --git a/Lib/test/output/test_exceptions b/Lib/test/output/test_exceptions new file mode 100644 index 00000000000..5ccb7b85239 --- /dev/null +++ b/Lib/test/output/test_exceptions @@ -0,0 +1,23 @@ +test_exceptions +5. Built-in exceptions +AttributeError +EOFError +IOError +ImportError +IndexError +KeyError +KeyboardInterrupt +(not testable in a script) +MemoryError +(not safe to test) +NameError +OverflowError +RuntimeError +(not used any more?) +SyntaxError +SystemError +(hard to reproduce) +SystemExit +TypeError +ValueError +ZeroDivisionError diff --git a/Lib/test/output/test_grammar b/Lib/test/output/test_grammar new file mode 100644 index 00000000000..4af27f73708 --- /dev/null +++ b/Lib/test/output/test_grammar @@ -0,0 +1,46 @@ +test_grammar +1. Parser +1.1 Tokens +1.1.1 Backslashes +1.1.2 Numeric literals +1.1.2.1 Plain integers +1.1.2.2 Long integers +1.1.2.3 Floating point +1.1.3 String literals +1.2 Grammar +single_input +file_input +expr_input +eval_input +funcdef +simple_stmt +expr_stmt +print_stmt +1 2 3 +1 2 3 +1 1 1 +del_stmt +pass_stmt +flow_stmt +break_stmt +continue_stmt +return_stmt +raise_stmt +import_stmt +global_stmt +exec_stmt +if_stmt +while_stmt +for_stmt +try_stmt +suite +test +comparison +binary mask ops +shift ops +additive ops +multiplicative ops +unary ops +selectors +atoms +classdef diff --git a/Lib/test/output/test_math b/Lib/test/output/test_math new file mode 100644 index 00000000000..2a980003a5c --- /dev/null +++ b/Lib/test/output/test_math @@ -0,0 +1,26 @@ +test_math +math module, testing with eps 1e-05 +constants +acos +asin +atan +atan2 +ceil +cos +cosh +exp +fabs +floor +fmod +frexp +hypot +ldexp +log +log10 +modf +pow +sin +sinh +sqrt +tan +tanh diff --git a/Lib/test/output/test_md5 b/Lib/test/output/test_md5 new file mode 100644 index 00000000000..c21f8e3c6d6 --- /dev/null +++ b/Lib/test/output/test_md5 @@ -0,0 +1,9 @@ +test_md5 +MD5 test suite: +MD5 ("") = d41d8cd98f00b204e9800998ecf8427e +MD5 ("a") = 0cc175b9c0f1b6a831c399e269772661 +MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72 +MD5 ("message digest") = f96b697d7cb7938d525a2f31aaf161d0 +MD5 ("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b +MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = d174ab98d277d9f5a5611c2c9f419d9f +MD5 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = 57edf4a22be3c955ac49da2e2107b67a diff --git a/Lib/test/output/test_new b/Lib/test/output/test_new new file mode 100644 index 00000000000..174881e186d --- /dev/null +++ b/Lib/test/output/test_new @@ -0,0 +1 @@ +test_new diff --git a/Lib/test/output/test_opcodes b/Lib/test/output/test_opcodes new file mode 100644 index 00000000000..8b788850a32 --- /dev/null +++ b/Lib/test/output/test_opcodes @@ -0,0 +1,5 @@ +test_opcodes +2. Opcodes +XXX Not yet fully implemented +2.1 try inside for loop +2.2 raise class exceptions diff --git a/Lib/test/output/test_operations b/Lib/test/output/test_operations new file mode 100644 index 00000000000..2accbd71fbf --- /dev/null +++ b/Lib/test/output/test_operations @@ -0,0 +1,3 @@ +test_operations +3. Operations +XXX Not yet implemented diff --git a/Lib/test/output/test_strop b/Lib/test/output/test_strop new file mode 100644 index 00000000000..5261cfed53f --- /dev/null +++ b/Lib/test/output/test_strop @@ -0,0 +1 @@ +test_strop diff --git a/Lib/test/output/test_time b/Lib/test/output/test_time new file mode 100644 index 00000000000..9638acb56a8 --- /dev/null +++ b/Lib/test/output/test_time @@ -0,0 +1 @@ +test_time diff --git a/Lib/test/output/test_types b/Lib/test/output/test_types new file mode 100644 index 00000000000..065594d6a8a --- /dev/null +++ b/Lib/test/output/test_types @@ -0,0 +1,15 @@ +test_types +6. Built-in types +6.1 Truth value testing +6.2 Boolean operations +6.3 Comparisons +6.4 Numeric types (mostly conversions) +6.4.1 32-bit integers +6.4.2 Long integers +6.4.3 Floating point numbers +6.5 Sequence types +6.5.1 Strings +6.5.2 Tuples +6.5.3 Lists +6.5.3a Additional list operations +6.6 Mappings == Dictionaries