Message2429
Logged In: YES
user_id=887415
Did you mean a bugtest? Anyway, here is one.
If you really meant a unittest please point me to the correct
directory to implement it as I didn't found a suitable one
(python/Lib/bugs ?).
<code>
"""
test for patch [ 1153003 ]
"""
import support
import jarray
import java
from org.python.core import ArgParser, PyObject
try:
# test(1, arg1=2)
args = jarray.array([1,2], PyObject)
kwds = jarray.array(['arg1'], java.lang.String)
ArgParser('test', args, kwds, 'arg1', 'arg2')
except TypeError:
pass
else:
raise support.TestError('Should raise a TypeError')
</code> |
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:18:27 | admin | link | issue1153003 messages |
| 2008-02-20 17:18:27 | admin | create | |
|