[Patches] [Patch #100994] Allow JPython to use more tests

noreply@sourceforge.net noreply@sourceforge.net
Tue, 15 Aug 2000 11:07:21 -0700


Patch #100994 has been updated. 

Project: 
Category: library
Status: Accepted
Summary: Allow JPython to use more tests

Follow-Ups:

Date: 2000-Jul-27 12:47
By: bckfnn

Comment:
Several test can almost but not quite be used from JPython. 

test_b1:

JPython does no longer have a strop module. Instead the builtin "time" module is used.

test_exceptions.py:

In JPython the builtin exception does not have type ClassType but type TypeType. 
The TypeType is a subclass of ClassType which make the isinstance work for both pythons.

test_pkg.py:

JPython does not insert __builtins__ in the module namespace. I hope that removing __builtins__ 
from the output does not devaluate the test.

-------------------------------------------------------

Date: 2000-Jul-27 12:52
By: gvanrossum

Comment:
Note that Lib/test/output/test_pkg must be changed too! Regenerate it by running "regrtest.py -g test_pkh".
-------------------------------------------------------

Date: 2000-Aug-15 11:07
By: tim_one

Comment:
Reassigned to Barry in Jeremy's absence.  Barry, note that Guido already Accepted this.  If you do too, check it in.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=100994&group_id=5470