1 # Copyright (c) 2008-2012 testtools developers. See LICENSE for details.
3 """Extensions to the standard Python unittest library."""
6 'clone_test_with_new_id',
10 'ExtendedToOriginalDecorator',
22 'TestResultDecorator',
28 'ThreadsafeForwardingResult',
33 from testtools
.helpers
import (
37 from testtools
.matchers
._impl
import (
40 # Shut up, pyflakes. We are importing for documentation, not for namespacing.
43 from testtools
.runtest
import (
47 from testtools
.testcase
import (
52 clone_test_with_new_id
,
58 from testtools
.testresult
import (
59 ExtendedToOriginalDecorator
,
66 ThreadsafeForwardingResult
,
68 from testtools
.testsuite
import (
73 from testtools
.distutilscmd
import (
77 # same format as sys.version_info: "A tuple containing the five components of
78 # the version number: major, minor, micro, releaselevel, and serial. All
79 # values except releaselevel are integers; the release level is 'alpha',
80 # 'beta', 'candidate', or 'final'. The version_info value corresponding to the
81 # Python version 2.0 is (2, 0, 0, 'final', 0)." Additionally we use a
82 # releaselevel of 'dev' for unreleased under-development code.
84 # If the releaselevel is 'alpha' then the major/minor/micro components are not
85 # established at this point, and setup.py will use a version of next-$(revno).
86 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
87 # Otherwise it is major.minor.micro~$(revno).
89 __version__
= (0, 9, 25, 'dev', 0)