| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -375,7 +375,7 @@ internal Binding Bind(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, Meth | |||
| 375 | 375 | if (clrtype != null) | |
| 376 | 376 | { | |
| 377 | 377 | var typematch = false; | |
| 378 | - if (pi[n].ParameterType != clrtype) | ||
| 378 | + if ((pi[n].ParameterType != typeof(object)) && (pi[n].ParameterType != clrtype)) | ||
| 379 | 379 | { | |
| 380 | 380 | IntPtr pytype = Converter.GetPythonTypeByAlias(pi[n].ParameterType); | |
| 381 | 381 | pyoptype = Runtime.PyObject_Type(op); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -781,7 +781,6 @@ def test_no_object_in_param(): | |||
| 781 | 781 | MethodTest.TestOverloadedNoObject("test") | |
| 782 | 782 | ||
| 783 | 783 | ||
| 784 | - @pytest.mark.xfail(reason="Needs fixing. #203") | ||
| 785 | 784 | def test_object_in_param(): | |
| 786 | 785 | """Test regression introduced by #151 in which Object method overloads | |
| 787 | 786 | aren't being used. See #203 for issue.""" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments