From 4063737cbfb305381ed5110a74d05d650292d130 Mon Sep 17 00:00:00 2001 From: Gabriel Pettier Date: Sat, 4 Apr 2020 00:26:19 +0200 Subject: [PATCH] fix test_newinstance, returned obj is now a Child remove faulty duplicate line that made the previous test useless --- jnius/reflect.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jnius/reflect.py b/jnius/reflect.py index 794bcb3..0b4f813 100644 --- a/jnius/reflect.py +++ b/jnius/reflect.py @@ -225,7 +225,6 @@ def autoclass(clsname): methods = cls.getDeclaredMethods() else: methods = cls.getMethods() - methods = cls.getMethods() methods_name = [x.getName() for x in methods] for index, method in enumerate(methods):