[Patches] [Patch #100994] Allow JPython to use more tests
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 27 Jul 2000 12:52:31 -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".
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=100994&group_id=5470