[Twisted-Python] Deprecated Modules

Itamar Turner-Trauring itamar at itamarst.org
Fri Apr 12 07:03:52 EDT 2013


On 04/12/2013 02:43 AM, RJ Ewing wrote:
> If I import a deprecated module and then run the test-suite should I 
> be seeing an error? I think that I should be seeing an error, but I am 
> not. I am not sure if I am doing something wrong or if my local 
> environment is weird.
>
You should see a deprecation warning. If your Python command line 
includes certain options, or your set certain env variables 
(PYTHONWARNINGS) this might be converted into an exception.



More information about the Twisted-Python mailing list