

def test_assignable(self):
    ArrayList = autoclass('java.util.ArrayList')
    Object = autoclass('java.lang.Object')
    a = ArrayList()
    self.assertRaises(JavaException, a.addAll, a())
    a.addAll(ArrayList())

dataset/ETHPy150Open kivy/pyjnius/tests/test_assignable.py AssignableFrom.test_assignable/VarMisuse@40/65 `Object`->`a`