We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2d091b commit 9c060a3Copy full SHA for 9c060a3
2 files changed
src/testing/methodtest.cs
@@ -115,16 +115,6 @@ public static int[] TestOverloadedParams(string v, params int[] args)
115
return args;
116
}
117
118
- public static int TestOverloadedObject(int i)
119
- {
120
- return i;
121
- }
122
-
123
- public static object TestOverloadedObject(object o)
124
125
- return o;
126
127
128
public static int[] TestOverloadedParams(int v, int[] args)
129
{
130
src/tests/test_method.py
@@ -341,10 +341,6 @@ def test():
341
# None cannot be converted to a value type like int, long, etc.
342
self.assertRaises(TypeError, test)
343
344
- def testObjectInParam(self):
345
- MethodTest.TestOverloadedObject(5)
346
- MethodTest.TestOverloadedObject("test")
347
348
def testObjectOutParams(self):
349
"""Test use of object out-parameters."""
350
result = MethodTest.TestObjectOutParams("hi", MethodTest())
0 commit comments