On Jan 30, 11:39 am, Alberto Valverde <[EMAIL PROTECTED]> wrote:
> On Jan 26, 2007, at 7:34 PM, shday wrote:
>
>
>
>
>
> >> So the tests at test_genericfucntions.py are passing? :)
>
> > I guess not:
>
> > C:\Documents and
> > Settings\Daystev\Desktop\Downloads\toscawidgets\tests>nosetests
> >  test_genericfunctions.py
> > ...FF
> > ======================================================================
> > FAIL: Non-prioritized ambiguous methods are processed fine
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "C:\Documents and
> > Settings\Daystev\Desktop\Downloads\toscawidgets\tests\t
> > est_genericfunctions.py", line 32, in test_non_prioritized_ambiguous
> >     self.assertRaises(dispatch.AmbiguousMethod, self.demo_func, 10)
> > AssertionError: AmbiguousMethod not raised
>
> > ======================================================================
> > FAIL: Prioritized ambiguous methods are processed fine
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "C:\Documents and
> > Settings\Daystev\Desktop\Downloads\toscawidgets\tests\t
> > est_genericfunctions.py", line 54, in test_prioritized_ambiguous
> >     self.assertEqual(self.demo_func(10),0)
> > AssertionError: 10 != 0
>
> > ----------------------------------------------------------------------
> > Ran 5 tests in 0.521s
>
> > FAILED (failures=2)
>
> :(The only thing I can think of is to try it out in a clean  
> workingenv. I've done some tests in windows xp using workingenv and  
> everything went smoothly so I guess it's not a windows related problem.
>
> Alberto

I was having exactly the same problem with the same tests. Looks like
it's when you mix RuleDispatch/PyProtocols versions with
different .egg files and .egg directories, looks like that's when
setuptools barfs. I was only checking the eggs, when I deleted
the .egg directories (and reinstalled the .eggs) it started working.

Now I just deleted every .egg I had and reinstalled with easy_install -
Z to have them on .egg directories.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to turbogears-trunk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to