[Zope3-dev] Re: layers can't be new style classes?

2006-10-17 Thread whit
Chris Withers wrote: Jim Fulton wrote: I may have spoken too soon. It looks like there is code to handle the object-as-base case in the test runner, at least on the trunk. Perhaps the version used by zope3 doesn't handle this case, or perhaps there's a bug that needs to be pursued. That'd exp

[Zope3-dev] Re: layers can't be new style classes?

2006-10-17 Thread Chris Withers
whit wrote: there is also a version of ztc by layers for 2.9(see zope2 branches) Which branch exactly? I'm using 2.9.4 and can't see any evidence of layers... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _

[Zope3-dev] Re: layers can't be new style classes?

2006-10-17 Thread Jürgen Kartnaller
Hi Chris. Look at z3c.sampledata.layer, I provide a testlayer there. Maybe you need to provide the __bases__! Jürgen Chris Withers wrote: Hi All, It would appear that Philipp's article is somewhat misleading in that layers can't be new style classes... class MyLayer(object): def setUp