Opened 18 years ago
Closed 18 years ago
#5442 closed (fixed)
Workaround for jython isclass() bug
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Keywords: | jython, sprintsept14 | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
_doctest.py uses isclass(), which isn't 100% reliable on Jython, see http://sourceforge.net/tracker/index.php?func=detail&aid=1786009&group_id=12867&atid=112867.
Attachments (1)
Change History (5)
by , 18 years ago
| Attachment: | jython_isclass_workaround.patch added |
|---|
comment:1 by , 18 years ago
| Has patch: | set |
|---|
comment:2 by , 18 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
I would have put the "patch_isclass" definition inside the if-statement (no need to add stuff to the module namespace on other platforms), but since this is test code (right?), that doesn't really matter that much.
comment:3 by , 18 years ago
| Keywords: | sprintsept14 added |
|---|
comment:4 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Workaround for the bug until it's fixed on jython