~michaeleguo/ubuntu/trusty/percona-xtradb-cluster-5.5/arm64fix

« back to all changes in this revision

Viewing changes to python-for-subunit2junitxml/testtools/__init__.py

  • Committer: Package Import Robot
  • Author(s): Rafael David Tinoco
  • Date: 2016-07-16 20:24:11 UTC
  • mfrom: (5.1.1 trusty-security)
  • Revision ID: package-import@ubuntu.com-20160716202411-wqt0uhix3mzbyhr6
Tags: 5.5.37-25.10+dfsg-0ubuntu0.14.04.2
d/p/fix_tc_log_initlization_on_ppc64.patch: Fix log-tc-size for bigger
page sizes to fix crash on ppc64el (LP: #1570678)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2008-2011 testtools developers. See LICENSE for details.
 
2
 
 
3
"""Extensions to the standard Python unittest library."""
 
4
 
 
5
__all__ = [
 
6
    'clone_test_with_new_id',
 
7
    'ConcurrentTestSuite',
 
8
    'ErrorHolder',
 
9
    'ExpectedException',
 
10
    'ExtendedToOriginalDecorator',
 
11
    'iterate_tests',
 
12
    'MultipleExceptions',
 
13
    'MultiTestResult',
 
14
    'PlaceHolder',
 
15
    'run_test_with',
 
16
    'TestCase',
 
17
    'TestResult',
 
18
    'TextTestResult',
 
19
    'RunTest',
 
20
    'skip',
 
21
    'skipIf',
 
22
    'skipUnless',
 
23
    'ThreadsafeForwardingResult',
 
24
    'try_import',
 
25
    'try_imports',
 
26
    ]
 
27
 
 
28
from testtools.helpers import (
 
29
    try_import,
 
30
    try_imports,
 
31
    )
 
32
from testtools.matchers import (
 
33
    Matcher,
 
34
    )
 
35
# Shut up, pyflakes. We are importing for documentation, not for namespacing.
 
36
Matcher
 
37
 
 
38
from testtools.runtest import (
 
39
    MultipleExceptions,
 
40
    RunTest,
 
41
    )
 
42
from testtools.testcase import (
 
43
    ErrorHolder,
 
44
    ExpectedException,
 
45
    PlaceHolder,
 
46
    TestCase,
 
47
    clone_test_with_new_id,
 
48
    run_test_with,
 
49
    skip,
 
50
    skipIf,
 
51
    skipUnless,
 
52
    )
 
53
from testtools.testresult import (
 
54
    ExtendedToOriginalDecorator,
 
55
    MultiTestResult,
 
56
    TestResult,
 
57
    TextTestResult,
 
58
    ThreadsafeForwardingResult,
 
59
    )
 
60
from testtools.testsuite import (
 
61
    ConcurrentTestSuite,
 
62
    iterate_tests,
 
63
    )
 
64
from testtools.distutilscmd import (
 
65
    TestCommand,
 
66
)
 
67
 
 
68
# same format as sys.version_info: "A tuple containing the five components of
 
69
# the version number: major, minor, micro, releaselevel, and serial. All
 
70
# values except releaselevel are integers; the release level is 'alpha',
 
71
# 'beta', 'candidate', or 'final'. The version_info value corresponding to the
 
72
# Python version 2.0 is (2, 0, 0, 'final', 0)."  Additionally we use a
 
73
# releaselevel of 'dev' for unreleased under-development code.
 
74
#
 
75
# If the releaselevel is 'alpha' then the major/minor/micro components are not
 
76
# established at this point, and setup.py will use a version of next-$(revno).
 
77
# If the releaselevel is 'final', then the tarball will be major.minor.micro.
 
78
# Otherwise it is major.minor.micro~$(revno).
 
79
 
 
80
__version__ = (0, 9, 10, 'final', 0)