On Thu, Sep 6, 2012 at 6:05 PM, Craig Small <
csm...@enc.com.au> wrote:
> On Thu, Sep 06, 2012 at 08:17:58AM -0700, Juparave wrote:
>> I wonder where and how exactly you disable deprecation warnings. I've
I don't have a fix for this, but I do have an explanation.
Nose is loading the pylons plugin, which imports Pylons, which
triggers the warning, before your testing code can be loaded up. The
same is true inside of TG: Pylons is loaded before AppConfig gets
loaded, which triggers the warning. At least, that's been what I've
observed with another app I'm working with.
You might be able to cure some of it, though, by putting the ignore
statements into project.config.middleware . No promises, but it might
work.