File: utils.py

package info (click to toggle)
python-testtools 2.7.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,400 kB
  • sloc: python: 14,643; makefile: 126; sh: 3
file content (15 lines) | stat: -rw-r--r-- 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright (c) 2008-2010 testtools developers. See LICENSE for details.

"""Utilities for dealing with stuff in unittest.

Legacy - deprecated - use testtools.testsuite.iterate_tests
"""

import warnings

warnings.warn(
    "Please import iterate_tests from testtools.testsuite - "
    "testtools.utils is deprecated.",
    DeprecationWarning,
    stacklevel=2,
)