On Sat, 12 Mar 2011 16:55:30 +0100 Éric Araujo <mer...@netwok.org> wrote: > > I have a deprecation warning that I need to make an error in 3.4. > > A neat trick to remember to do those changes is using a test that fails > if something does not raise a DeprecationWarning if sys.version_info[:2] > == (3, 3), or an error if sys.version_info[:3] == (3, 4). You write > those tests once and let “make test” remind you as soon as the Python > version changes.
And magically break all the buildbots :) Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com