Message4879
PyList.indexOf() and PyTuple.indexOf() fail due to not wrapping the
incoming Java object before passing to the indexOf() method of the
underlying container.
tests/java/javatests/ListTest.java contains a test method called
indexOf() to test this method, however, it is not called by testAll();
it is never used.
Please find attached a patch that:
- renames ListTest.indexOf() to ListTest.test_indexOf()
- calls ListTest.test_indexOf() from ListTest.testAll()
- Fixes PyList.indexOf()
- Fixes PyTuple.indexOf()
Passes regression tests. |
|
Date |
User |
Action |
Args |
2009-07-03 15:32:30 | MrMeanie | set | recipients:
+ MrMeanie |
2009-07-03 15:32:29 | MrMeanie | set | messageid: <1246635149.99.0.570951146301.issue1395@psf.upfronthosting.co.za> |
2009-07-03 15:32:29 | MrMeanie | link | issue1395 messages |
2009-07-03 15:32:29 | MrMeanie | create | |
|