lp://staging/~zyga/testtools/use-versiontools
- Get this branch:
- bzr branch lp://staging/~zyga/testtools/use-versiontools
Branch merges
- Robert Collins: Needs Information
-
Diff: 77 lines (+3/-51)1 file modifiedsetup.py (+3/-51)
Branch information
Recent revisions
- 246. By Zygmunt Krynicki
-
Use versiontools instead of hand-made solution.
Versiontools (http://
versiontools. rtfd.org) is centralized system that handles
formatting __version__ appropriately, according to PEP386. Versiontools
includes support for interrogating the version control system, such as bzr, git
or mercurial to retrieve the revision or other commit identifier and append
that to the version string in certain situations.The biggest advantage is that this patch makes testtools work on python3.
Currently versiontools requires bzrlib to be importable to work, so without bzr
available inside your virtualenv (or system installation) you will not get
proper versioning of individual development snapshots (they will be just
labeled 1.2.3.dev instead of 1.2.3.dev{revno}). This requirement will go away
in versiontools 1.10 with shell fall-back as bzr is not coming to python3
anytime soon. This patch also requires setuptools to work properly (as
versiontools depends on setup_requires). This requirement will also go away in
versiontools 1.9, or as soon as
https://code.launchpad .net/~zkrynicki /versiontools/ 1.9/+merge/ 91568 lands in
trunk. - 242. By Jonathan Lange
-
Move stack trace logic to TracebackContent, simplify the way we handle verbose tracebacks.
FullStackRunTest no longer aborts the test run if a test raises an error. - 239. By Robert Collins
-
``ThreadsafeFor
wardingResult` ` no longer includes semaphore acquisition time
in the test duration (for implicitly timed test runs).
(Robert Collins, #914362) - 238. By Robert Collins
-
``MultiTestResult`` supports the ``tags`` method.
(Graham Binns, Francesco Banconi, #914279)``ThreadsafeFor
wardingResult` ` supports the ``tags`` method.
(Graham Binns, Francesco Banconi, #914279)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)