There's no reason you can't suppress them in your code. Edit your app_cfg
module, and add the warnings.filterwarnings line. I would advise to be as
specific as possible for it, since you don't want to hide actual (and
important) warnings that can still occur.

But there's nothing stopping you.

On Wed, Jul 25, 2012 at 7:36 PM, Craig Small <[email protected]> wrote:

> On Tue, Jul 24, 2012 at 03:10:01PM -0700, Jānis Ābele wrote:
> >    Is it possible to filter these messages using:
> >
> >      warnings.filterwarnings('ignore', category=DeprecationWarning)
> Let's put it another way (I was going to ask anyhow). Is there an easy
> of of supressing those sort of warnings in nosetests, or, is there
> a way of ignoring problems from things that aren't your package? A bit
> like how --cover-package works on coverage.
>
> I create enough warnings (or Craig's to-do list) without Pylons adding
> to the noise.
>
>  - Craig
> --
> Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
> Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
> GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>


-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

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

Reply via email to