Author: Ronan Lamy <[email protected]> Branch: Changeset: r94336:6e679a6792a4 Date: 2018-04-15 15:45 +0100 http://bitbucket.org/pypy/pypy/changeset/6e679a6792a4/
Log: Remove data used by deleted tests as well diff --git a/pypy/tool/pytest/test/data/test___all__.txt b/pypy/tool/pytest/test/data/test___all__.txt deleted file mode 100644 --- a/pypy/tool/pytest/test/data/test___all__.txt +++ /dev/null @@ -1,94 +0,0 @@ -Content-Type: multipart/mixed; boundary="===============0790678169==" -MIME-Version: 1.0 -execution-time: 1445.14346004 -exit status: 1 -fspath: /Users/anderslehmann/pypy/lib-python/2.4.1/test/test___all__.py -options: ['core', '_sre'] -outcome: T/O -platform: darwin -pypy-revision: 16114 -python-version-info: (2, 4, 1, 'final', 0) -startdate: Wed Aug 17 23:51:59 2005 -testreport-version: 1.1 -timeout: 1369.0 -userhost: [email protected] -_reprs: {'execution-time': 'float', 'python-version-info': 'tuple', - 'options': 'list', 'timeout': 'float', 'pypy-revision': 'int', - 'exit status': 'int'} - ---===============0790678169== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stdout" - -test_all (__main__.AllTest) ... ERROR - -====================================================================== -ERROR: test_all (__main__.AllTest) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test___all__.py", line 163, in test_all - self.check_all("tty") - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test___all__.py", line 26, in check_all - "%s has no __all__ attribute" % modname) - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_support.py", line 208, in verify - raise TestFailed(reason) -TestFailed: tty has no __all__ attribute - ----------------------------------------------------------------------- - ---===============0790678169== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stderr" - -faking <type 'module'> -Loading grammar /Users/anderslehmann/pypy/pypy/interpreter/pyparser/data/Grammar2.4 -faking <type 'file'> -faking <type 'posix.stat_result'> -faking <type 'posix.statvfs_result'> -fake-wrapping interp file <open file '<stdout>', mode 'w' at 0x12068> -fake-wrapping interp file <open file '<stderr>', mode 'w' at 0x120b0> -fake-wrapping interp file <open file '<stdin>', mode 'r' at 0x12020> -faking <type '_socket.socket'> -faking <type 'classobj'> -faking <type 'PyCObject'> -faking <type 'time.struct_time'> -==========================timedout========================== -Traceback (application-level): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test___all__.py", line 192 in <module> - test_main() - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test___all__.py", line 189 in test_main - test_support.run_unittest(AllTest) - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_support.py", line 290 in run_unittest - run_suite(suite, testclass) - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_support.py", line 262 in run_suite - result = runner.run(suite) -Traceback (application-level): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/atexit.py", line 29 in _run_exitfuncs - print >> sys.stderr, "Error in atexit._run_exitfuncs:" -KeyboardInterrupt -Traceback (most recent call last): - File "/Users/anderslehmann/pypy/pypy/tool/alarm.py", line 43, in ? - execfile(_main_with_alarm(finished)) - File "/Users/anderslehmann/pypy/pypy/bin/py.py", line 206, in ? - sys.exit(main_(sys.argv)) - File "/Users/anderslehmann/pypy/pypy/bin/py.py", line 115, in main_ - if not main.run_toplevel(space, doit, verbose=Options.verbose): - File "/Users/anderslehmann/pypy/pypy/interpreter/main.py", line 150, in run_toplevel - operationerr.print_application_traceback(space) - File "/Users/anderslehmann/pypy/pypy/interpreter/error.py", line 83, in print_application_traceback - self.print_app_tb_only(file) - File "/Users/anderslehmann/pypy/pypy/interpreter/error.py", line 104, in print_app_tb_only - l = linecache.getline(fname, lineno) - File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/linecache.py", line 14, in getline - lines = getlines(filename) - File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/linecache.py", line 40, in getlines - return updatecache(filename) - File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/linecache.py", line 101, in updatecache - lines = fp.readlines() -KeyboardInterrupt - ---===============0790678169==-- \ No newline at end of file diff --git a/pypy/tool/pytest/test/data/test_compile.txt b/pypy/tool/pytest/test/data/test_compile.txt deleted file mode 100644 --- a/pypy/tool/pytest/test/data/test_compile.txt +++ /dev/null @@ -1,111 +0,0 @@ -Content-Type: multipart/mixed; boundary="===============2137793924==" -MIME-Version: 1.0 -execution-time: 34.8464071751 -exit status: 1 -fspath: /Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py -options: ['core', '_sre'] -outcome: ERR -platform: darwin -pypy-revision: 16114 -python-version-info: (2, 4, 1, 'final', 0) -startdate: Thu Aug 18 03:08:18 2005 -testreport-version: 1.1 -timeout: 1521.0 -userhost: [email protected] -_reprs: {'execution-time': 'float', 'python-version-info': 'tuple', - 'options': 'list', 'timeout': 'float', 'pypy-revision': 'int', - 'exit status': 'int'} - ---===============2137793924== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stdout" - -test_argument_handling (__main__.TestSpecifics) ... FAIL -test_argument_order (__main__.TestSpecifics) ... FAIL -test_complex_args (__main__.TestSpecifics) ... ok -test_debug_assignment (__main__.TestSpecifics) ... FAIL -test_duplicate_global_local (__main__.TestSpecifics) ... ok -test_exec_with_general_mapping_for_locals (__main__.TestSpecifics) ... ok -test_float_literals (__main__.TestSpecifics) ... ok -test_for_distinct_code_objects (__main__.TestSpecifics) ... ok -test_import (__main__.TestSpecifics) ... FAIL -test_indentation (__main__.TestSpecifics) ... ok -test_literals_with_leading_zeroes (__main__.TestSpecifics) ... ok -test_none_assignment (__main__.TestSpecifics) ... FAIL -test_sequence_unpacking_error (__main__.TestSpecifics) ... ok -test_syntax_error (__main__.TestSpecifics) ... ok -test_unary_minus (__main__.TestSpecifics) ... ok - -====================================================================== -FAIL: test_argument_handling (__main__.TestSpecifics) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py", line 18, in test_argument_handling - self.assertRaises(SyntaxError, eval, 'lambda a,a:0') -AssertionError: SyntaxError not raised - -====================================================================== -FAIL: test_argument_order (__main__.TestSpecifics) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py", line 127, in test_argument_order - self.fail("non-default args after default") -AssertionError: non-default args after default - -====================================================================== -FAIL: test_debug_assignment (__main__.TestSpecifics) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py", line 10, in test_debug_assignment - self.assertRaises(SyntaxError, compile, '__debug__ = 1', '?', 'single') -AssertionError: SyntaxError not raised - -====================================================================== -FAIL: test_import (__main__.TestSpecifics) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py", line 253, in test_import - self.assertRaises(SyntaxError, compile, stmt, 'tmp', 'exec') -AssertionError: SyntaxError not raised - -====================================================================== -FAIL: test_none_assignment (__main__.TestSpecifics) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py", line 211, in test_none_assignment - self.assertRaises(SyntaxError, compile, stmt, 'tmp', 'single') -AssertionError: SyntaxError not raised - ----------------------------------------------------------------------- -Ran 15 tests in 14.363s - -FAILED (failures=5) - ---===============2137793924== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stderr" - -faking <type 'module'> -Loading grammar /Users/anderslehmann/pypy/pypy/interpreter/pyparser/data/Grammar2.4 -faking <type 'file'> -faking <type 'posix.stat_result'> -faking <type 'posix.statvfs_result'> -fake-wrapping interp file <open file '<stdout>', mode 'w' at 0x12068> -fake-wrapping interp file <open file '<stderr>', mode 'w' at 0x120b0> -fake-wrapping interp file <open file '<stdin>', mode 'r' at 0x12020> -Traceback (application-level): - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py", line 268 in <module> - test_main() - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_compile.py", line 265 in test_main - test_support.run_unittest(TestSpecifics) - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_support.py", line 290 in run_unittest - run_suite(suite, testclass) - File "/Users/anderslehmann/pypy/lib-python/2.4.1/test/test_support.py", line 274 in run_suite - raise TestFailed(msg) -TestFailed: errors occurred in __main__.TestSpecifics - ---===============2137793924==-- \ No newline at end of file diff --git a/pypy/tool/pytest/test/data/test_descr.txt b/pypy/tool/pytest/test/data/test_descr.txt deleted file mode 100644 --- a/pypy/tool/pytest/test/data/test_descr.txt +++ /dev/null @@ -1,233 +0,0 @@ -Content-Type: multipart/mixed; boundary="===============1265023865==" -MIME-Version: 1.0 -execution-time: 4098.8407588 -exit status: 1 -fspath: /Users/anderslehmann/pypy/lib-python/modified-2.4.1/test/test_descr.py -options: ['oldstyle', 'core'] -outcome: ERR -platform: darwin -pypy-revision: 16388 -python-version-info: (2, 4, 1, 'final', 0) -startdate: Wed Aug 24 16:54:12 2005 -testreport-version: 1.1 -timeout: 10000.0 -userhost: [email protected] -_reprs: {'execution-time': 'float', 'python-version-info': 'tuple', - 'options': 'list', 'timeout': 'float', 'pypy-revision': 'int', - 'exit status': 'int'} - ---===============1265023865== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stdout" - -**************************************** ---> weakref_segfault FAILURE(0/92) _weakref -**************************************** ---> do_this_first OK(1/92) -**************************************** ---> class_docstrings OK(2/92) -**************************************** ---> lists FAILURE(2/92) type object 'list' has no attribute '__getslice__' -**************************************** ---> dicts FAILURE(2/92) type object 'dict' has no attribute '__cmp__' -**************************************** ---> dict_constructor OK(3/92) -**************************************** ---> test_dir OK(4/92) -**************************************** ---> ints OK(5/92) -**************************************** ---> longs OK(6/92) -**************************************** ---> floats OK(7/92) -**************************************** ---> complexes OK(8/92) -**************************************** ---> spamlists FAILURE(8/92) xxsubtype -**************************************** ---> spamdicts FAILURE(8/92) xxsubtype -**************************************** ---> pydicts OK(9/92) -**************************************** ---> pylists OK(10/92) -**************************************** ---> metaclass OK(11/92) -**************************************** ---> pymods OK(12/92) -**************************************** ---> multi OK(13/92) -**************************************** ---> mro_disagreement FAILURE(13/92) Message 'cycle among base classes: A < B < A', expected 'Cannot create a consistent method resolution\norder (MRO) for bases ' -**************************************** ---> diamond OK(14/92) -**************************************** ---> ex5 OK(15/92) -**************************************** ---> monotonicity OK(16/92) -**************************************** ---> consistency_with_epg OK(17/92) -**************************************** ---> objects OK(18/92) -**************************************** ---> slots FAILURE(18/92) ['foo bar'] slots not caught -**************************************** ---> slotspecials FAILURE(18/92) test failed -**************************************** ---> dynamics OK(19/92) -**************************************** ---> errors FAILURE(19/92) inheritance from CFunction should be illegal -**************************************** ---> classmethods OK(20/92) -**************************************** ---> classmethods_in_c FAILURE(20/92) xxsubtype -**************************************** ---> staticmethods OK(21/92) -**************************************** ---> staticmethods_in_c FAILURE(21/92) xxsubtype -**************************************** ---> classic OK(22/92) -**************************************** ---> compattr OK(23/92) -**************************************** ---> newslot OK(24/92) -**************************************** ---> altmro OK(25/92) -**************************************** ---> overloading OK(26/92) -**************************************** ---> methods FAILURE(26/92) test failed -**************************************** ---> specials FAILURE(26/92) shouldn't allow <type 'unicode'>.__cmp__(u'123', '123') -**************************************** ---> weakrefs FAILURE(26/92) 'module' object has no attribute 'ref' -**************************************** ---> properties FAILURE(26/92) expected TypeError from trying to set readonly '__doc__' attr on a property -**************************************** ---> supers OK(27/92) -**************************************** ---> inherits FAILURE(27/92) test failed -**************************************** ---> keywords FAILURE(27/92) descr__new__() got an unexpected keyword argument 'string' -**************************************** ---> restricted OK(28/92) -**************************************** ---> str_subclass_as_dict_key OK(29/92) -**************************************** ---> classic_comparisons OK(30/92) -**************************************** ---> rich_comparisons OK(31/92) -**************************************** ---> coercions OK(32/92) -**************************************** ---> descrdoc FAILURE(32/92) 'The most base type' == 'True if the file is closed' -**************************************** ---> setclass OK(33/92) -**************************************** ---> setdict OK(34/92) -**************************************** ---> pickles OK(35/92) -**************************************** ---> copies OK(36/92) -**************************************** ---> binopoverride OK(37/92) -**************************************** ---> subclasspropagation OK(38/92) -**************************************** ---> buffer_inherit OK(39/92) -**************************************** ---> str_of_str_subclass OK(40/92) -**************************************** ---> kwdargs OK(41/92) -**************************************** ---> delhook OK(42/92) -**************************************** ---> hashinherit OK(43/92) -**************************************** ---> strops OK(44/92) -**************************************** ---> deepcopyrecursive OK(45/92) -**************************************** ---> modules OK(46/92) -**************************************** ---> dictproxyiterkeys FAILURE(46/92) ['__dict__', '__module__', 'meth'] == ['__dict__', '__doc__', '__module__', '__weakref__', 'meth'] -**************************************** ---> dictproxyitervalues FAILURE(46/92) 3 == 5 -**************************************** ---> dictproxyiteritems FAILURE(46/92) ['__dict__', '__module__', 'meth'] == ['__dict__', '__doc__', '__module__', '__weakref__', 'meth'] -**************************************** ---> pickleslots OK(47/92) -**************************************** ---> funnynew OK(48/92) -**************************************** ---> imulbug OK(49/92) -**************************************** ---> docdescriptor OK(50/92) -**************************************** ---> string_exceptions FAILURE(50/92) string subclass allowed as exception -**************************************** ---> copy_setstate OK(51/92) -**************************************** ---> slices OK(52/92) -**************************************** ---> subtype_resurrection OK(53/92) -**************************************** ---> slottrash OK(54/92) -**************************************** ---> slotmultipleinheritance FAILURE(54/92) type object 'C' has no attribute '__basicsize__' -**************************************** ---> testrmul OK(55/92) -**************************************** ---> testipow OK(56/92) -**************************************** ---> test_mutable_bases FAILURE(56/92) readonly attribute -**************************************** ---> test_mutable_bases_with_failing_mro FAILURE(56/92) readonly attribute -**************************************** ---> test_mutable_bases_catch_mro_conflict OK(57/92) -**************************************** ---> mutable_names OK(58/92) -**************************************** ---> subclass_right_op OK(59/92) -**************************************** ---> dict_type_with_metaclass OK(60/92) -**************************************** ---> meth_class_get FAILURE(60/92) shouldn't have allowed descr.__get__(None, None) -**************************************** ---> isinst_isclass OK(61/92) -**************************************** ---> proxysuper OK(62/92) -**************************************** ---> carloverre OK(63/92) -**************************************** ---> filefault OK(64/92) -**************************************** ---> vicious_descriptor_nonsense OK(65/92) -**************************************** ---> test_init FAILURE(65/92) did not test __init__() for None return - ---===============1265023865== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stderr" - -faking <type 'module'> -Loading grammar /Users/anderslehmann/pypy/pypy/interpreter/pyparser/data/Grammar2.4 -faking <type 'file'> -faking <type 'posix.stat_result'> -faking <type 'posix.statvfs_result'> -fake-wrapping interp file <open file '<stdout>', mode 'w' at 0x12068> -fake-wrapping interp file <open file '<stderr>', mode 'w' at 0x120b0> -fake-wrapping interp file <open file '<stdin>', mode 'r' at 0x12020> -faking <type '_sre.SRE_Pattern'> -faking <type '_sre.SRE_Match'> -Traceback (application-level): - File "/Users/anderslehmann/pypy/pypy/tool/pytest/regrverbose.py", line 12 in <module> - indirect_test() - File "/Users/anderslehmann/pypy/lib-python/modified-2.4.1/test/test_descr.py", line 4102 in test_main - raise TestFailed, "%d/%d" % (success, n) -TestFailed: 65/92 - ---===============1265023865==-- \ No newline at end of file diff --git a/pypy/tool/pytest/test/data/test_generators.txt b/pypy/tool/pytest/test/data/test_generators.txt deleted file mode 100644 --- a/pypy/tool/pytest/test/data/test_generators.txt +++ /dev/null @@ -1,317 +0,0 @@ -Content-Type: multipart/mixed; boundary="===============1565511160==" -MIME-Version: 1.0 -cpu mhz: unknown -cpu model: unknown -execution-time: 671.678878069 -exit status: 1 -fspath: /home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py -options: ['core'] -outcome: ERR -platform: linux2 -pypy-revision: 16123 -python-version-info: (2, 4, 1, 'final', 0) -startdate: Thu Aug 18 02:08:13 2005 -testreport-version: 1.1 -timeout: 3136.0 -userhost: xoraxax@tick -_reprs: {'execution-time': 'float', 'python-version-info': 'tuple', - 'options': 'list', 'timeout': 'float', 'pypy-revision': 'int', - 'exit status': 'int'} - ---===============1565511160== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stdout" - -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - import weakref -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[0]>", line 1, in <interactive> - import weakref - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/weakref.py", line 14, in <module> - from _weakref import ( - ImportError: _weakref -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - wr = weakref.ref(gen) -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[2]>", line 1, in <interactive> - wr = weakref.ref(gen) - NameError: global name 'weakref' is not defined -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - wr() is gen -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[3]>", line 1, in <interactive> - wr() is gen - NameError: global name 'wr' is not defined -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - p = weakref.proxy(gen) -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[4]>", line 1, in <interactive> - p = weakref.proxy(gen) - NameError: global name 'weakref' is not defined -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - wr = weakref.ref(gi) -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[6]>", line 1, in <interactive> - wr = weakref.ref(gi) - NameError: global name 'weakref' is not defined -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - wr() is gi -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[7]>", line 1, in <interactive> - wr() is gi - NameError: global name 'wr' is not defined -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - p = weakref.proxy(gi) -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[8]>", line 1, in <interactive> - p = weakref.proxy(gi) - NameError: global name 'weakref' is not defined -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.weakref -Failed example: - list(p) -Exception raised: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.weakref[9]>", line 1, in <interactive> - list(p) - NameError: global name 'p' is not defined -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.pep -Failed example: - k.next() -Expected: - Traceback (most recent call last): - File "<stdin>", line 1, in ? - File "<stdin>", line 2, in g - File "<stdin>", line 2, in f - ZeroDivisionError: integer division or modulo by zero -Got: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.pep[10]>", line 1, in <interactive> - k.next() - File "<doctest test.test_generators.__test__.pep[8]>", line 2, in g - yield f() # the zero division exception propagates - File "<doctest test.test_generators.__test__.pep[7]>", line 2, in f - return 1//0 - ZeroDivisionError: integer division by zero -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - return 22 - yield 1 -Expected: - Traceback (most recent call last): - .. - SyntaxError: 'return' with argument inside generator (<doctest test.test_generators.__test__.syntax[0]>, line 2) -Got nothing -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - yield 1 - return 22 -Expected: - Traceback (most recent call last): - .. - SyntaxError: 'return' with argument inside generator (<doctest test.test_generators.__test__.syntax[1]>, line 3) -Got nothing -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - yield 1 - return None -Expected: - Traceback (most recent call last): - .. - SyntaxError: 'return' with argument inside generator (<doctest test.test_generators.__test__.syntax[2]>, line 3) -Got nothing -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - try: - yield 1 - finally: - pass -Expected: - Traceback (most recent call last): - .. - SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause (<doctest test.test_generators.__test__.syntax[4]>, line 3) -Got nothing -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - try: - try: - 1//0 - except ZeroDivisionError: - yield 666 # bad because *outer* try has finally - except: - pass - finally: - pass -Expected: - Traceback (most recent call last): - ... - SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause (<doctest test.test_generators.__test__.syntax[5]>, line 6) -Got nothing -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - yield -Expected: - Traceback (most recent call last): - SyntaxError: invalid syntax -Got: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.syntax[8]>", line 2 - def f(): - ^ - SyntaxError: error -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - if 0: - yield -Expected: - Traceback (most recent call last): - SyntaxError: invalid syntax -Got: - Traceback (most recent call last): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/doctest.py", line 1243, in __run - compileflags, 1) in test.globs - File "<doctest test.test_generators.__test__.syntax[9]>", line 3 - def f(): - ^ - SyntaxError: error -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - type(f()) -Expected: - <type 'generator'> -Got: - <type 'NoneType'> -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - type(f()) -Expected: - <type 'generator'> -Got: - <type 'NoneType'> -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - type(f()) -Expected: - <type 'generator'> -Got: - <type 'NoneType'> -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - type(f()) -Expected: - <type 'generator'> -Got: - <type 'NoneType'> -********************************************************************** -File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line ?, in test.test_generators.__test__.syntax -Failed example: - def f(): - if 0: - lambda x: x # shouldn't trigger here - return # or here - def f(i): - return 2*i # or here - if 0: - return 3 # but *this* sucks (line 8) - if 0: - yield 2 # because it's a generator -Expected: - Traceback (most recent call last): - SyntaxError: 'return' with argument inside generator (<doctest test.test_generators.__test__.syntax[22]>, line 8) -Got nothing -********************************************************************** -3 items had failures: - 1 of 22 in test.test_generators.__test__.pep - 12 of 29 in test.test_generators.__test__.syntax - 8 of 10 in test.test_generators.__test__.weakref -***Test Failed*** 21 failures. - ---===============1565511160== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stderr" - -faking <type 'module'> -Loading grammar /home/contest/xoraxax/pypy-dist/pypy/interpreter/pyparser/data/Grammar2.4 -faking <type 'file'> -faking <type 'posix.stat_result'> -faking <type 'posix.statvfs_result'> -fake-wrapping interp file <open file '<stdout>', mode 'w' at 0xf7fa3068> -fake-wrapping interp file <open file '<stderr>', mode 'w' at 0xf7fa30b0> -fake-wrapping interp file <open file '<stdin>', mode 'r' at 0xf7fa3020> -faking <type '_sre.SRE_Pattern'> -faking <type '_sre.SRE_Match'> -faking <type 'callable-iterator'> -Traceback (application-level): - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line 1405 in <module> - test_main(1) - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_generators.py", line 1401 in test_main - test_support.run_doctest(test_generators, verbose) - File "/home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_support.py", line 319 in run_doctest - finally: -TestFailed: 21 of 154 doctests failed - ---===============1565511160==-- \ No newline at end of file diff --git a/pypy/tool/pytest/test/data/test_global.txt b/pypy/tool/pytest/test/data/test_global.txt deleted file mode 100644 --- a/pypy/tool/pytest/test/data/test_global.txt +++ /dev/null @@ -1,94 +0,0 @@ -Content-Type: multipart/mixed; boundary="===============1988336873==" -MIME-Version: 1.0 -cpu mhz: unknown -cpu model: unknown -execution-time: 12.6530230045 -exit status: 2 -fspath: /home/contest/xoraxax/pypy-dist/lib-python/2.4.1/test/test_global.py -options: ['core'] -outcome: ERROUT -platform: linux2 -pypy-revision: 16123 -python-version-info: (2, 4, 1, 'final', 0) -startdate: Thu Aug 18 02:12:59 2005 -testreport-version: 1.1 -timeout: 3844.0 -userhost: xoraxax@tick -_reprs: {'execution-time': 'float', 'python-version-info': 'tuple', - 'options': 'list', 'timeout': 'float', 'pypy-revision': 'int', - 'exit status': 'int'} - ---===============1988336873== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stdout" - -should have raised SyntaxError: -def wrong1(): - a = 1 - b = 2 - global a - global b - -should have raised SyntaxError: -def wrong2(): - print x - global x - -should have raised SyntaxError: -def wrong3(): - print x - x = 2 - global x - -as expected, no SyntaxError - ---===============1988336873== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stderr" - -faking <type 'module'> -Loading grammar /home/contest/xoraxax/pypy-dist/pypy/interpreter/pyparser/data/Grammar2.4 -faking <type 'file'> -faking <type 'posix.stat_result'> -faking <type 'posix.statvfs_result'> -fake-wrapping interp file <open file '<stdout>', mode 'w' at 0xf7fa3068> -fake-wrapping interp file <open file '<stderr>', mode 'w' at 0xf7fa30b0> -fake-wrapping interp file <open file '<stdin>', mode 'r' at 0xf7fa3020> -faking <type '_sre.SRE_Pattern'> - ---===============1988336873== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="reportdiff" - -********************************************************************** -*** mismatch between lines 2-4 of expected output and lines 2-19 of actual output: -- got SyntaxError as expected -- got SyntaxError as expected -- got SyntaxError as expected -+ should have raised SyntaxError: -+ def wrong1(): -+ a = 1 -+ b = 2 -+ global a -+ global b -+ -+ should have raised SyntaxError: -+ def wrong2(): -+ print x -+ global x -+ -+ should have raised SyntaxError: -+ def wrong3(): -+ print x -+ x = 2 -+ global x -+ -********************************************************************** - ---===============1988336873==-- \ No newline at end of file diff --git a/pypy/tool/pytest/test/data/test_sys.txt b/pypy/tool/pytest/test/data/test_sys.txt deleted file mode 100644 --- a/pypy/tool/pytest/test/data/test_sys.txt +++ /dev/null @@ -1,61 +0,0 @@ -Content-Type: multipart/mixed; boundary="===============1380540766==" -MIME-Version: 1.0 -cpu mhz: unknown -cpu model: unknown -execution-time: 22.5916008949 -exit status: 0 -fspath: /home/contest/xoraxax/pypy-dist/lib-python/modified-2.4.1/test/test_sys.py -options: ['core'] -outcome: OK -platform: linux2 -pypy-revision: 16123 -python-version-info: (2, 4, 1, 'final', 0) -startdate: Thu Aug 18 04:16:48 2005 -testreport-version: 1.1 -timeout: 3364.0 -userhost: xoraxax@tick -_reprs: {'execution-time': 'float', 'python-version-info': 'tuple', - 'options': 'list', 'timeout': 'float', 'pypy-revision': 'int', - 'exit status': 'int'} - ---===============1380540766== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stdout" - -test_attributes (__main__.SysModuleTest) ... ok -test_custom_displayhook (__main__.SysModuleTest) ... ok -test_dlopenflags (__main__.SysModuleTest) ... ok -test_exc_clear (__main__.SysModuleTest) ... ok -test_exit (__main__.SysModuleTest) ... ok -test_getdefaultencoding (__main__.SysModuleTest) ... ok -test_getframe (__main__.SysModuleTest) ... ok -test_getwindowsversion (__main__.SysModuleTest) ... ok -test_lost_displayhook (__main__.SysModuleTest) ... ok -test_original_displayhook (__main__.SysModuleTest) ... ok -test_original_excepthook (__main__.SysModuleTest) ... ok -test_recursionlimit (__main__.SysModuleTest) ... ok -test_setcheckinterval (__main__.SysModuleTest) ... ok - ----------------------------------------------------------------------- -Ran 13 tests in 7.241s - -OK - ---===============1380540766== -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="stderr" - -faking <type 'module'> -Loading grammar /home/contest/xoraxax/pypy-dist/pypy/interpreter/pyparser/data/Grammar2.4 -faking <type 'file'> -faking <type 'posix.stat_result'> -faking <type 'posix.statvfs_result'> -fake-wrapping interp file <open file '<stdout>', mode 'w' at 0xf7fa3068> -fake-wrapping interp file <open file '<stderr>', mode 'w' at 0xf7fa30b0> -fake-wrapping interp file <open file '<stdin>', mode 'r' at 0xf7fa3020> - ---===============1380540766==-- \ No newline at end of file _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
