deprecations.py 511 B

123456789101112131415161718192021222324
  1. # -*- coding: utf-8 -*-
  2. """
  3. flask.testsuite.deprecations
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. Tests deprecation support.
  6. :copyright: (c) 2011 by Armin Ronacher.
  7. :license: BSD, see LICENSE for more details.
  8. """
  9. import flask
  10. import unittest
  11. from flask.testsuite import FlaskTestCase, catch_warnings
  12. class DeprecationsTestCase(FlaskTestCase):
  13. """not used currently"""
  14. def suite():
  15. suite = unittest.TestSuite()
  16. suite.addTest(unittest.makeSuite(DeprecationsTestCase))
  17. return suite