angel ignacio colmenares laguado wrote: > [EMAIL PROTECTED]:~/desarrollo/clr-2.0-python-2.5-branch$ mono > python.exe./src/tests/runtests.py > ..............................................................EE....F.......................................................................................................................................................................................................................................................... > > ====================================================================== > ERROR: testGenericMethodOverloadSelection (test_generic.GenericTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py", > > line 353, in testGenericMethodOverloadSelection > value = type.Overloaded[str]("test") > TypeError: No match found for given type params > > ====================================================================== > ERROR: testGenericMethodTypeHandling (test_generic.GenericTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py", > > line 303, in testGenericMethodTypeHandling > self._testGenericMethodByType(System.Boolean, True) > File > "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py", > > line 202, in _testGenericMethodByType > result = stype.Overloaded[ptype](value) > TypeError: No match found for given type params > > ====================================================================== > FAIL: Test usage of generic value type definitions. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py", > > line 81, in testGenericValueType > self.failUnless(inst.HasValue) > AssertionError > > ---------------------------------------------------------------------- > Ran 319 tests in 3.447s > > FAILED (failures=1, errors=2)
Mono's support for overloading seems to have some bugs. On Windows just one unit test related to overloading is failing and it is failing later. I'll have to familiarize myself with MonoDevelop in order to debug the bugs. I've promised Miguel to report them. Christian _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet