Re: [Zope3-dev] doctest: Get type of object

2006-01-24 Thread Florian Lindner
Am Dienstag, 24. Januar 2006 22:57 schrieb Tim Peters: > [Florian Lindner] > > > I've tried: > > > > Failed example: > > homeFolder #doctest: +ELLIPSIS > > Expected: > > > > Got nothing > > > > > > I've also tried it without the #doctest > > > > Why do I get just nothing? > > That's ex

Re: [Zope3-dev] doctest: Get type of object

2006-01-24 Thread Tim Peters
[Florian Lindner] > I've tried: > > Failed example: > homeFolder #doctest: +ELLIPSIS > Expected: > > Got nothing > > > I've also tried it without the #doctest > > Why do I get just nothing? That's expected if (and only if) `homeFolder` is bound to `None`. What happens if you change t

Re: [Zope3-dev] doctest: Get type of object

2006-01-24 Thread Florian Lindner
Am Dienstag, 24. Januar 2006 21:07 schrieb Florian Lindner: > Hello, > I'm currently writing a test in a README.txt and I want to make sure that > returned object a is of type zope.app.x. How can I test that? I've tried: Failed example: homeFolder #doctest: +ELLIPSIS Expected: Got nothin