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',
9 'ConcurrentStreamTestSuite',
10 'DecorateTestCaseResult',
13 'ExtendedToOriginalDecorator',
14 'ExtendedToStreamDecorator',
26 'TestResultDecorator',
38 'StreamToExtendedDecorator',
41 'ThreadsafeForwardingResult',
42 'TimestampingStreamResult',
47 # Compat - removal announced in 0.9.25.
54 # Support reading __init__ for __version__ without extras, because pip does
55 # not support setup_requires.
59 from testtools.matchers._impl import (
62 # Shut up, pyflakes. We are importing for documentation, not for namespacing.
65 from testtools.runtest import (
69 from testtools.testcase import (
70 DecorateTestCaseResult,
75 clone_test_with_new_id,
81 from testtools.testresult import (
83 ExtendedToOriginalDecorator,
84 ExtendedToStreamDecorator,
92 StreamToExtendedDecorator,
100 ThreadsafeForwardingResult,
101 TimestampingStreamResult,
103 from testtools.testsuite import (
105 ConcurrentStreamTestSuite,
109 from testtools.distutilscmd import (
113 # same format as sys.version_info: "A tuple containing the five components of
114 # the version number: major, minor, micro, releaselevel, and serial. All
115 # values except releaselevel are integers; the release level is 'alpha',
116 # 'beta', 'candidate', or 'final'. The version_info value corresponding to the
117 # Python version 2.0 is (2, 0, 0, 'final', 0)." Additionally we use a
118 # releaselevel of 'dev' for unreleased under-development code.
120 # If the releaselevel is 'alpha' then the major/minor/micro components are not
121 # established at this point, and setup.py will use a version of next-$(revno).
122 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
123 # Otherwise it is major.minor.micro~$(revno).
125 __version__ = (1, 0, 0, 'final', 0)